/
systemError

systemError



Function: systemError()

Adds a error message into the log. This function is often used when creating a model and trying to work out why an expression is not behaving as expected.

The Detail field of the log message will contain a list of the current values of any Attributes, Pipes and $-Variables which are relevant in the context of the expression.


Syntax

systemError(message)

ArgumentTypeDescription
messageStringA message to appear in the log. Note that this could be an expression.

Examples

ifNull (in.rate, systemError("Missing rate") )

This example adds a message to the log if no rate is found.

See Also

Related content

try
Read with this
systemError
systemError
More like this
systemWarning
systemWarning
More like this
systemWarning
systemWarning
More like this
systemWarning
systemWarning
More like this
error
error
More like this