Skip to content

error

Raise an error with a message.

Syntax

tcl
error message ?info? ?code?

Parameters

  • message: The error message string
  • info: Initial stack trace information (optional)
  • code: Machine-readable error code (optional)

Examples

Output
Output

See Also