Last errors
Last errors : Collection
Parameter | Type | Description | |
---|---|---|---|
Function result | Collection | ← | Collection of error objects |
Description
The Last errors command returns the current stack of errors of the 4D application as a collection of error objects, or null if no error occurred. The stack of errors includes objects sent by the throw command, if any.
Each error object contains the following attributes:
Property | Type | Description |
---|---|---|
errCode | number | Error code |
message | text | Description of the error |
componentSignature | text | Signature of the internal component which returned the error |
This command must be called from an on error call method installed by the ON ERR CALL command.
See also
Properties
Command number | 1799 |
Thread safe | ✓ |