postgresql-error-codes-1.0.1: PostgreSQL error codes

Safe HaskellNone
LanguageHaskell2010

PostgreSQL.ErrorCodes

Contents

Description

Synopsis

Documentation

Class 00 — Successful Completion

Class 01 — Warning

warning :: ErrorCode Source #

Code "01000".

Class 02 — No Data (this is also a warning class per the SQL standard)

no_data :: ErrorCode Source #

Code "02000".

Class 03 — SQL Statement Not Yet Complete

Class 08 — Connection Exception

Class 09 — Triggered Action Exception

Class 0A — Feature Not Supported

Class 0B — Invalid Transaction Initiation

Class 0F — Locator Exception

Class 0L — Invalid Grantor

Class 0P — Invalid Role Specification

Class 0Z — Diagnostics Exception

Class 20 — Case Not Found

Class 21 — Cardinality Violation

Class 22 — Data Exception

trim_error :: ErrorCode Source #

Code "22027".

Class 23 — Integrity Constraint Violation

Class 24 — Invalid Cursor State

Class 25 — Invalid Transaction State

Class 26 — Invalid SQL Statement Name

Class 27 — Triggered Data Change Violation

Class 28 — Invalid Authorization Specification

Class 2B — Dependent Privilege Descriptors Still Exist

Class 2D — Invalid Transaction Termination

Class 2F — SQL Routine Exception

Class 34 — Invalid Cursor Name

Class 38 — External Routine Exception

Class 39 — External Routine Invocation Exception

Class 3B — Savepoint Exception

Class 3D — Invalid Catalog Name

Class 3F — Invalid Schema Name

Class 40 — Transaction Rollback

Class 42 — Syntax Error or Access Rule Violation

syntax_error :: ErrorCode Source #

Code "42601".

invalid_name :: ErrorCode Source #

Code "42602".

Class 44 — WITH CHECK OPTION Violation

Class 53 — Insufficient Resources

disk_full :: ErrorCode Source #

Code "53100".

Class 54 — Program Limit Exceeded

Class 55 — Object Not In Prerequisite State

Class 57 — Operator Intervention

Class 58 — System Error (errors external to PostgreSQL itself)

system_error :: ErrorCode Source #

Code "58000".

io_error :: ErrorCode Source #

Code "58030".

Class 72 — Snapshot Failure

Class F0 — Configuration File Error

Class HV — Foreign Data Wrapper Error (SQL/MED)

fdw_error :: ErrorCode Source #

Code "HV000".

Class P0 — PL/pgSQL Error

Class XX — Internal Error