ErrorObject Object (OLE DB Provider for DB2)
The ErrorObject object is created by any interface on any DB2 OLE DB object. The ErrorObject object is used to retrieve additional information when an error occurs.
The following interface of the ErrorObject object is supported by the current version of Microsoft OLE DB Provider for DB2:
IErrorRecords
The IErrorRecords interface returns ErrorRecord objects with detailed information on the error that occurred.