Define MORPHEUS_FAIL#

Define Documentation#

MORPHEUS_FAIL(reason)#

Indicates that an erroneous code path has been taken.

In host code, throws a morpheus::LogicError.

Example usage:

MORPHEUS_FAIL("Non-arithmetic operation is not supported");

Parameters:
  • reason[in] String literal description of the reason