4D v20.1Last errors |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v20.1
Last errors
|
Last errors -> Résultat | ||||||||
Paramètre | Type | Description | ||||||
Résultat | 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.
Produit : 4D
Thème : Interruptions
Numéro :
1799
Nom intl. : Last errors
Créé : 4D v19 R8
4D - Langage ( 4D v20)
4D - Langage ( 4D v20.1)