LispWorks User Guide and Reference Manual > 19 Common SQL > 19.8 Error handling in Common SQL


19.8.2 Database error accessors

Three functions are provided which access slots of sql-database-error, allowing you to discover more about the actual error that occurred.

sql-error-error-id and sql-error-secondary-error-id return primnary and secondary error identifiers. If you use these, please read the detailed description in sql-database-error.

sql-error-database-message is a string (maybe nil ) returned by the foreign code.

LispWorks User Guide and Reference Manual - 22 Dec 2009