extendedErrorText
Type: String
The extendedErrorText property of the Exception class contains an extended error description for exception instances recorded by any services that raise exceptions; for example, ODBC.
The default exception handler dialog appends this extended information to the error text in the error description text box. If the exception is an ODBC exception, the diagnostic message must explain if the source of an error or warning is an ODBC component itself. The text of messages therefore has two formats. For errors and warnings that do not occur in a data source, the diagnostic message uses the following format.
[vendor-id][ODBC-component-id]component-supplied-text
For errors and warnings that occur in a data source, the diagnostic message uses the following format.
[vendor-id][ODBC-component-id][data-source-id]data-source supplied-text
The following example shows a diagnostic message for an error that occurred in an ODBC SQL server.
[Microsoft][ODBC SQL Server Driver]Connection is busy with results for another hstmt
The extendedErrorText property can also contain the value of a decimal before it is truncated. (For details about specifying whether an exception is raised when a decimal overflow occurs and an example of the use of the extendedErrorText property in an exception handler, see the