This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v20 R7
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. 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.
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 R7)