Error Handling#

oneIPL error handling relies on C++ exceptions. Should an error occur, it is propagated at the point of a function call where it is caught using standard C++ exception-handling.

To improve performance, oneIPL implementations may choose to partially disable error-checking. Each function has a set of compile-time checks and exceptions. Compile-time checks shall be compliant with the specification, while exceptions may be partially disabled for performance reasons. It is recommended to disable any exceptions by providing a disabling mechanism during compilation.