Error Checking

Macros/Functions related to error checking.

See Error Handling to understand Execution Framework’s error handling/reporting approach.

Macros

OMNI_GRAPH_EXEC_ASSERT

Debug build assertion.

OMNI_GRAPH_EXEC_CAST_OR_FATAL

Casts an object to the specified interface, terminating the application if the cast fails.

OMNI_GRAPH_EXEC_FATAL

Terminates the application due to an unexpected condition.

OMNI_GRAPH_EXEC_FATAL_UNLESS

Check if the given expression evaluates to true , and if not, terminates the application.

OMNI_GRAPH_EXEC_FATAL_UNLESS_ARG

Check if the given argument is nullptr , and if so terminates the application.