Aller au contenu principal
Version: Suivant

Last errors

Last errors : Collection

ParamètresTypeDescription
RésultatCollectionCollection d'objets erreur

Description

La commande Last errors renvoie la pile d'erreurs courante de l'application 4D sous la forme d'une collection d'objets erreur, ou null si aucune erreur ne s'est produite. La pile d'erreurs inclut les objets envoyés par la commande throw, le cas échéant.

Cette commande doit être appelée à partir d'une méthode d'appel sur erreur installée par la commande ON ERR CALL ou dans un contexte Try ou Try/Catch.

Chaque objet erreur contient les propriétés suivantes :

PropriétéTypeDescription
errCodenumberCode d'erreur
messagetextDescription de l'erreur
componentSignaturetextSignature du composant interne qui a renvoyé l'erreur (voir ci-dessous)

Signatures des composants internes (4D)

Signature du composantComposant
4DCM4D Compiler runtime
4DRT4D runtime
bkrs4D backup & restore manager
brdgSQL 4D bridge
cecm4D code Editor
CZipzip 4D apis
dbmg4D database manager
FCGIfast cgi 4D bridge
FiFo4D file objects
HTCLhttp client 4D apis
HTTP4D http server
IMAPIMAP 4D apis
JFEMForm Macro apis
LD4DLDAP 4D apis
lscm4D language syntax manager
MIMEMIME 4D apis
mobi4D Mobile
pdf14D pdf apis
PHP_php 4D bridge
POP3POP3 4D apis
SMTPSMTP 4D apis
SQLS4D SQL server
srvr4D network layer apis
svg1SVG 4D apis
ugmg4D users and groups manager
UP4D4D updater
VSS4D VSS support (Windows Volume Snapshot Service)
webc4D Web view
xmlcXML 4D apis
wri14D Write Pro

Signatures des composants internes (système)

Signature du composantComposant
CARBCarbon subsystem
COCOCocoa subsystem
MACHmacOS Mach subsystem
POSXposix/bsd subsystem (mac, linux, win)
PW32Pre-Win32 subsystem
WI32Win32 subsystem

Voir également

ON ERR CALL throw
Error handling

Propriétés

Numéro de commande1799
Thread safe