Syntax
someErrors = getErrors();
SemanticsReturns 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.
SubstitutablessomeErrors

Any array with elements of class Error.

 

Examples
set errors = getErrors(); 
set firstCause = error[0].description;
  • No labels