Error Severities

The following table lists all error severities with their numerical equivalents and an explanation of the type of error. When an error occurs or when a message is sent, these numerical equivalents are passed to the currently installed, user-supplied error handler.

Error severity levels are defined in the SQLFRONT.H header file. Your program must include SQLFRONT.H if it refers to these severity levels.


Error severity
Severity
number

Description
EXINFO 1 Informational, nonerror.
EXUSER 2 User error.
EXNONFATAL 3 Nonfatal error.
EXCONVERSION 4 Error in DB-Library data conversion.
EXSERVER 5 The server has returned an error flag.
EXTIME 6 Timeout period exceeded while waiting for a response from the server ¾ the DBPROCESS is still alive.
EXPROGRAM 7 Coding error in user program.
EXRESOURCE 8 Running out of resources ¾ the DBPROCESS may be dead.
EXCOMM 9 Failure in communication with server ¾ the DBPROCESS is dead.
EXFATAL 10 Fatal error ¾ the DBPROCESS is dead.
EXCONSISTENCY 11 Internal software error ¾ notify your primary support provider.