GetErrorStackSize
Returns the depth of the error message stack. This depth data allows you to process all of the returned error information.
Syntax
short int GetErrorStackSize(int*size);
Parameters
size (out) Set to the depth of the error message stack.
Return Value
SUCCESS or FAILURE.
Comments
If any unexpected internal database errors are encountered during the execution of the APIs — running out of table space, for example — the call stack and the error message encountered by the deepest routine are saved in an internal error stack. This function returns the depth of the stack.
Error Messages
Table 7-14 Error Messages for GetErrorStackSize
| Number | Severity | Message |
|---|---|---|
|
284900 |
ERR |
User does not have the privilege to call function in the current mode. |
|
285000 |
ERR |
Function called out of sequence. |
Related Function
Parent topic: Data Capture API Functions