error

When an error occurs within a function, an object can be returned. The object, called an error, contains information about the error, including its type and a message.

Functions

Function Description
code Return the error code.
msg Return the error message.
Function Description
err Initialize a new error.
raise Raise an error.
try Try a statement and catch if an error is raised.

Build-in errors

See errors for a list of all the build-in error type.