OMNI_NO_THROW
MACRO

OMNI_NO_THROW - Disables exceptions (throw keyword) in the library.

SYNOPSIS top

#define OMNI_NO_THROW

Signifies to the library to not throw any exceptions.

DESCRIPTION top

By specifying the OMNI_NO_THROW preprocessor flag, the library will not throw any exceptions specific to the library.

CONSIDERATIONS top

By specifying this flag, the library 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 library will either return from the function or proceed as normal, both could have unintended consequences if not handled properly; in other words, undefined behaviour could result.

PLATFORM SPECIFIC top

No platform specific details.

NOTES top

None.