メインコンテンツまでスキップ
バージョン: 次へ

Last errors

Last errors : Collection

ParameterTypeDescription
Function resultCollectionCollection 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.

This command must be called from an on error call method installed by the ON ERR CALL command.

Each error object contains the following properties:

PropertyTypeDescription
errCodenumberError code
messagetextDescription of the error
componentSignaturetextSignature of the internal component which returned the error (see below)

Internal component signatures (4D)

Component SignatureComponent
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

Internal component signatures (System)

Component SignatureComponent
CARBCarbon subsystem
COCOCocoa subsystem
MACHmacOS Mach subsystem
POSXposix/bsd subsystem (mac, linux, win)
PW32Pre-Win32 subsystem
WI32Win32 subsystem

See also

ON ERR CALL
throw
Error handling

Properties

Command number1799
Thread safe