Firebird 2.5 Language ReferenceFirebird 2.5 Language Reference → Exception Codes and Messages
Firebird Firebird Prev: A Note on EqualityFirebird 2.5 Language ReferenceUp: Firebird 2.5 Language ReferenceNext: SQLSTATE Error Codes and Descriptions

Appendix B: Exception Codes and Messages

Table of Contents

SQLSTATE Error Codes and Descriptions
SQLCODE and GDSCODE Error Codes and Descriptions

This appendix includes:

[Note] Custom Exceptions

Firebird DDL provides a simple syntax for creating custom exceptions for use in PSQL modules, with message text of up to 1,021 characters. For more information, see CREATE EXCEPTION in DDL Statements and, for usage, the statement EXCEPTION in PSQL Statements.

The Firebird SQLCODE error codes do not correlate with the standards-compliant SQLSTATE codes. SQLCODE has been used for many years and should be considered as deprecated now. Support for SQLCODE is likely to be dropped in a future version.

Prev: A Note on EqualityFirebird 2.5 Language ReferenceUp: Firebird 2.5 Language ReferenceNext: SQLSTATE Error Codes and Descriptions
Firebird 2.5 Language ReferenceFirebird 2.5 Language Reference → Exception Codes and Messages