Breadcrumbs

getError() Function

Syntax

anError = getError();

Semantics

Returns an object of type Error that holds information about the initial cause of an error that has been caught.

Substitutables

anError

Any object of type Error.

type_error.png

Examples

set error = getError(); 
set cause = error.description;
📗