ERROR
stackPushes onto the stack a list containing the current error (as caught by a TRY
) and its causes. Each error is a map with the following fields:
Field | Description |
---|---|
type | Type of the error, the Java class of the underlying exception |
message | The message associated with the error |
stacktrace | A list of lists, each containing filename , line number , class name , method name |
The current error is the first element of the list.
If there is no current error, the returned list will be empty.