Define MORPHEUS_FAIL
Defined in File error.hpp
-
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