Skip to content

throw ​

Throw an exception with a type and message.

Syntax ​

tcl
throw type message

Parameters ​

  • type: Error type as a non-empty list for machine-readable error classification. By convention, words should go from most general to most specific (e.g., {ARITH DIVZERO})
  • message: Human-readable error message for display

Examples ​

Output
Output

See Also ​