skip to main content
The Connect XE Drivers : The Salesforce Driver : Error Handling
 

Try DataDirect Drivers Now

Error Handling

The Salesforce driver reports errors to the application by returning SQL_ERROR to the failing ODBC API call. The application can then call SQLGetDiagRec to obtain the error details which consist of the following information:
*Description of the probable cause of the error, prefixed by the component that generated the error
*Vendor error code (if applicable)
*String containing the XOPEN SQLState
In this section: 
* Driver Errors
* Data Source Errors