Skip to main content
Version: 1.0.0

lastErrors

lastErrors* : collection

ParameterTypeDescription
resultcollectionCollection 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:

PropertyTypeDescription
errCodenumberError code
messagestringDescription of the error
componentSignaturestringSignature of the internal component which returned the error

This command must be called from an error-handling method installed by the onErrCall command.

See also

onErrCall