skip to main content
Part 4: The Connect XE Drivers : The Salesforce Driver : Error Handling
  
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
* Driver Errors
* Data Source Errors