Zen API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
#define kTestState (   EXPRESSION)

Within a kTry block, throws kERROR_STATE if the expression result is kFALSE.

If the EXPRESSION argument does not evaluate to kTRUE, kERROR_STATE is passed to an error-handling block. Otherwise, execution continues at the next statement.

Parameters
EXPRESSIONExpression that evaluates to a kBool value.
See also
Error Handling