MACRO
OMNI_NO_THROW - Disables exceptions (throw keyword) in the framework.
DESCRIPTION top
By specifying the
By specifying the
OMNI_NO_THROW preprocessor flag, the framework will not throw any exceptions specific to the framework.
CONSIDERATIONS top
By specifying this flag, the framework will have no way of alerting the user if an error happened. You can specify the OMNI_TERMINATE_ON_ERR flag and the
By specifying this flag, the framework will have no way of alerting the user if an error happened. You can specify the OMNI_TERMINATE_ON_ERR flag and the
std::terminate function will be called on error. If neither flag is specified and an error is detected the framework will either return from the function or proceed as normal, both could have unintended consequences if not handled properly; in other words, undefined behavior could result.