Excerpt | ||
---|---|---|
| ||
error(message) Adds a error message into the Log. |
Function: error()
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.
...
Argument | Type | Description |
---|---|---|
message | String | A message to appear in the Log. Note that this could be an Expression. |
Examples
ifNull (in.rate, error("Missing rate") )
This example adds a message to the Log if no rate is found.
...