4D v20.1Last errors |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
4D v20.1
Last errors
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Last errors -> Function result | ||||||||
| Parameter | Type | Description | ||||||
| Function result | Collection |
|
Collection of error objects | |||||
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.
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.
Note: See also the GET LAST ERROR STACK legacy command that returns the same information as arrays.
Product: 4D
Theme: Interruptions
Number:
1799
Created: 4D v19 R8
4D Language Reference ( 4D v20)
4D Language Reference ( 4D v20.1)
Add a comment