4D v14.3GET LAST ERROR STACK |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v14.3
GET LAST ERROR STACK
GET LAST ERROR STACK
The GET LAST ERROR STACK command returns information about the current stack of errors of the 4D application. When a 4D statement causes an error, the current error stack contains a description of the error as well as any series of errors generated. For example, a "disk full" type error causes a write error in the file then an error in the record saving command: the stack will therefore contain three errors. If the last 4D statement did not generate an error, the current error stack is empty. This generic command can be used to process any type of error that may occur in the 4D application. Note: However, to obtain detailed information concerning the errors generated by an ODBC source, it will be necessary to use the SQL GET LAST ERROR command. This command must be called from an on error call method installed by the ON ERR CALL command. The information is returned in three synchronized arrays:
The list of error codes and their text is provided in the sections of the Error Codes theme. |
PROPERTIES
Product: 4D
HISTORY
Modified: 4D v11 SQL Release 3 SEE ALSO
ON ERR CALL ARTICLE USAGE
4D Language Reference ( 4D v12.4) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||