StatementExceptionReason
Represents specific reasons for a SQL statement execution failure.
Entries
The statement contains a syntax error.
The statement leaves something open where the driver's own parser needed it closed - a string or identifier quote, a dollar-quoted body, a multi-line comment. details names which, and position points at where it began.
An object's definition or current state does not permit what was asked of it.
The statement references a table, column, function or type that does not exist.
The statement creates an object under a name that is already taken.
A name in the statement matches more than one candidate; qualify it.
A value's type does not fit where it was used, and no implicit cast applies.
Properties
Functions
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Returns an array containing the constants of this enum type, in the order they're declared.