Pushes 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:
|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 |
The current error is the first element of the list.
If there is no current error, the returned list will be empty.