Assertions
Macros
-
Evaluates the given expression, and if the result value cannot pass
if
statement, callsassert_fail
. This function works in all builds. -
luassert_msg_always(_condition, _message)
Same as luassert_always, but displays a custom message instead of the expression.
-
Triggers an assertion failure directly.
-
Triggers an assertion failure with custom message.