Breadcrumbs

getErrors() Function


Syntax


someErrors = getErrors();


Semantics

Returns an array with elements of class Error that holds information about the initial cause of the caught error 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.

Examples


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



Related Pages: