Connection.minorErrorCode() (Method)

Returns a supplementary error code for an error raised by the database server or the ODBC interface to it.

Availability:

JavaScript - 1.2
Netscape Enterprise Server - 3.0
Property/method value type:String primitive
JavaScript syntax:NESmyConnection.minorErrorCode()

For a status code value of 5 when using the Oracle database, this yields an operating system error code from the Oracle Call-level interface.

For a status code value of 5 when using SQL server through the ODBC database interface, this yields the severity level from SQL server.

For a status code value of 7 when using the Informix database, this yields the ISAM error code.

For a status code value of 7 when using the Sybase database, this yields the severity level of the error from the DB-Library.

See also:database.minorErrorCode(), DbPool.minorErrorCode(), Error handling, Status code