DB-Library Error Severities

Troubleshooting SQL Server

Troubleshooting

DB-Library 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.

See Also

Reporting Errors to Your Primary Support Provider