Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

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


Syntax

systemError(message)

ArgumentTypeDescription
messageStringA message to appear in the Loglog. Note that this could be an Expressionexpression.

Examples

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

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

See Also