Optional
evalThis evaluates the result and if it fails, it throws an error
The parent context
The expression to evaluate
Optional
evalMsg: MsgSourceThe default message to display
The result of the evaluation
Optional
failThrows an AssertionFailure
with the given message.
The message to display.
The details (props) to include in the error
Optional
getReturns the details of the evaluation
The parent context
The details of the evaluation
Optional
getResolves and returns only the eval message to be displayed for the evaluation,
this does not include the value or the scope initMsg
or any other details.
The parent context
the message to resolve
Optional
getReturns the message to be displayed for the evaluation
The parent context
Optional
evalMsg: MsgSourceUsed when no-message is provided
The message to be displayed for the evaluation
Provides optional overrides for the default behavior of the context