Exceptions of the class SQLError are raised if an error occurs when an SQL statement is executed.
Instances of the class SQLError have the following attributes:
Attribute |
Description |
errorCode |
Number of the database-specific error message (see also: the documentation Messages) |
sqlState |
Standardized error code |
message |
Text of the error message |
errorPos |
For an error in the SQL statement: Position of the error in the SQL statement For an error in the execution of the SQL statement: Position number of the parameter with the error (first parameter = 0) |