This function triggers an exception. The error text to be displayed is passed as a string argument.
error(String errorText) | |||
---|---|---|---|
Argument | String | errorText | Error text to display |
Return value |
Formula | Result |
---|---|
$Condition = '3'; =switch $Condition { case 1: 'a' case 2: 'b' else: error('Condition false') } | Condition false |