Skip to content

Errors and Exceptions

Block name
Block rendering

Throws an error with the error message.

Constructs a new error object.

Creates a try/catch/finally block.
If the logic in the Try section throws an error, it is caught and handled in the Catch with error section. The error variable contains the information about the error. The Finally block is executed after the logic in Try or Catch with error is done processing.