The following table lists the level of severity of Visual Basic errors and the corresponding constants. The constants are defined in the VBSQL.BAS file.
Severity level |
Constant |
Description |
---|---|---|
1 | EXINFO | Informational non-error. |
2 | EXUSER | User error. |
3 | EXNONFATAL | Nonfatal error. |
4 | EXCONVERSION | Error in Visual Basic data conversion. |
5 | EXSERVER | Server returned an error flag. |
6 | EXTIME | Exceeded timeout period while waiting for a response from SQL Server. The SQL Server connection is still alive. |
7 | EXPROGRAM | Coding error in user program. |
8 | EXRESOURCE | Running out of resources. The SQL Server connection may be inactive. |
9 | EXCOMM | Failure in communication with SQL Server. The SQL Server connection is inactive. |
10 | EXFATAL | Fatal error. The SQL Server connection is inactive. |
11 | EXCONSISTENCY | Internal software error. Notify your primary support provider. |