DbPool.majorErrorMessage() (Method)

Returns an error message text for an error that happened in the database or the interface to it.

Availability:

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

For a status code value of 5 when using the Oracle database, this yields a text string describing the server error.

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

For a status code value of 7 when using the Informix database, this yields the text string from the vendor error library.

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

See also:Connection.majorErrorMessage(), database.majorErrorMessage(), Error handling