GetError
Returns the next error message in the internal error stack. Depending upon the error that is generated, this function reflects expected API errors or internal Oracle or API errors.
Syntax
short int GetError(ErrorInfo
*err_info
);
Parameters
err_info
(out) – This parameter contains the information about the error in a structure of type ErrorInfo.
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. Each time GetError is called, the next entry in the stack, if any, is returned; otherwise an error is raised.
Error Messages
Table 7-13 Error Messages for GetError
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