Skip to content
Miriam McMahon edited this page Apr 27, 2023 · 6 revisions

Description

The throw command logs the associated message and bubbles execution up to a try catch finally block. If the exception is not handled within the script, the code invoking the operation handles it and the operation is considered to have failed. The variable 'Exception' is populated with the Value given to throw and is available in the catch block.

Parameters

Parameter Name Description Type Resolved Type Required
Value A message to indicate what the problem was. It will be logged. Value String No

Examples

Example:

{
    "Throw": { "Value": "this is the error message" }
}