Loading TOC...

Error functions

The table below lists all the Error built-in functions (in this namespace: Error).

A representation of an exception.

8 functions
Function name Description
Error.code For DOM errors, this is the DOM error code.
Error.data The data passed to the error.
Error.message The formatted error message.
Error.name The error name.
Error.retryable Whether the error can be retried.
Error.stack A string representation of the call stack.
Error.stackFrames An array of stack frames.
Error.toString A string representation of the error.