lastErrors
lastErrors : collection
Parameter | Type | Description | |
---|---|---|---|
result | collection | -> | Collection of error objects |
Description
The lastErrors
command returns the current stack of errors of the Qodly application as a collection of error objects, or null
if no error occurred.
Each error object contains the following properties:
Property | Type | Description |
---|---|---|
errCode | number | Error code |
message | string | Description of the error |
componentSignature | string | Signature of the internal component which returned the error |
This command must be called from an error-handling method installed by the onErrCall
command.