Name

SQL-FATAL-ERROR — condition representing a fatal error in a database connectionCondition Type

Class Precedence List

sql-connection-error, sql-database-error, sql-error, simple-error, simple-condition, error, serious-condition, sql-condition, condition, t

Description

This condition represents errors occurring when the database connection is no longer usable.

The following initialization arguments and accessors exist:

Initarg: :database-type
Accessor: sql-error-database-type
Description: Database type for the connection attempt
Initarg: :connection-spec
Accessor: sql-error-connection-spec
Description: The connection specification used in the connection attempt.
Initarg: :database
Accessor: sql-error-database
Description: The database object that was involved in the incident.
Initarg: :error-id
Accessor: sql-error-error-id
Description: The numeric or symbolic error specification returned by the database back-end. The values and semantics of this are interface specific.
Initarg: :secondary-error-id
Accessor: sql-error-secondary-error-id
Description: The secondary numeric or symbolic error specification returned by the database back-end. The values and semantics of this are interface specific.
Initarg: :message
Accessor: sql-error-database-message
Description: A string describing the problem that occurred, possibly one returned by the database back-end.

Notes

The slot accessors sql-error-database, sql-error-database-type and sql-error-connection-spec are CLSQL extensions.