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

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

If the EXPRESSION argument evaluates to kFALSE, STATUS is passed to an error-handling block. Otherwise, execution continues at the next statement.

Parameters
EXPRESSIONExpression that evaluates to a kBool value.
STATUSStatus code to be thrown if EXPRESSION is kFALSE.
See also
Error Handling