Breadcrumbs

getErrors() Function

Syntax

someErrors = getErrors();

Semantics

Returns an array with elements of class Error that holds information about the initial cause of the error that has been caught, and all of its subsequent errors. The initial error is the first element of this array, subsequent errors follow.

Substitutables

someErrors

Any array with elements of class Error.

  type_error.png

Examples

set errors = getErrors(); 
set firstCause = error[0].description;
📗