SqlState

skunk.SqlState
enum SqlState(val code: String)

Enumerated type of Postgres error codes. These can be used as extractors for error handling, for example:

doSomething.recoverWith { case SqlState.ForeignKeyViolation(ex) => ... }

Attributes

See also:
Source:
SqlState.scala
Graph
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Members list

Concise view

Instances

case case ActiveSqlTransaction extends SqlState

SqlState 25001

SqlState 25001

Attributes

Source:
SqlState.scala
case case AdminShutdown extends SqlState

SqlState 57P01

SqlState 57P01

Attributes

Source:
SqlState.scala
case case AmbiguousAlias extends SqlState

SqlState 42P09

SqlState 42P09

Attributes

Source:
SqlState.scala
case case AmbiguousColumn extends SqlState

SqlState 42702

SqlState 42702

Attributes

Source:
SqlState.scala
case case AmbiguousFunction extends SqlState

SqlState 42725

SqlState 42725

Attributes

Source:
SqlState.scala
case case AmbiguousParameter extends SqlState

SqlState 42P08

SqlState 42P08

Attributes

Source:
SqlState.scala
case case ArraySubscriptError extends SqlState

SqlState 2202E

SqlState 2202E

Attributes

Source:
SqlState.scala
case case BadCopyFileFormat extends SqlState

SqlState 22P04

SqlState 22P04

Attributes

Source:
SqlState.scala

SqlState 25002

SqlState 25002

Attributes

Source:
SqlState.scala
case case CannotCoerce extends SqlState

SqlState 42846

SqlState 42846

Attributes

Source:
SqlState.scala
case case CannotConnectNow extends SqlState

SqlState 57P03

SqlState 57P03

Attributes

Source:
SqlState.scala

SqlState 55P02

SqlState 55P02

Attributes

Source:
SqlState.scala
case case CardinalityViolation extends SqlState

SqlState 21000

SqlState 21000

Attributes

Source:
SqlState.scala
case case CaseNotFound extends SqlState

SqlState 20000

SqlState 20000

Attributes

Source:
SqlState.scala

SqlState 22021

SqlState 22021

Attributes

Source:
SqlState.scala
case case CheckViolation extends SqlState

SqlState 23514

SqlState 23514

Attributes

Source:
SqlState.scala
case case ConfigFileError extends SqlState

SqlState F0000

SqlState F0000

Attributes

Source:
SqlState.scala

SqlState 08003

SqlState 08003

Attributes

Source:
SqlState.scala
case case ConnectionException extends SqlState

SqlState 08000

SqlState 08000

Attributes

Source:
SqlState.scala
case case ConnectionFailure extends SqlState

SqlState 08006

SqlState 08006

Attributes

Source:
SqlState.scala

SqlState 38001

SqlState 38001

Attributes

Source:
SqlState.scala
case case CrashShutdown extends SqlState

SqlState 57P02

SqlState 57P02

Attributes

Source:
SqlState.scala
case case DataCorrupted extends SqlState

SqlState XX001

SqlState XX001

Attributes

Source:
SqlState.scala
case case DataException extends SqlState

SqlState 22000

SqlState 22000

Attributes

Source:
SqlState.scala
case case DatabaseDropped extends SqlState

SqlState 57P04

SqlState 57P04

Attributes

Source:
SqlState.scala
case case DatatypeMismatch extends SqlState

SqlState 42804

SqlState 42804

Attributes

Source:
SqlState.scala

SqlState 22008

SqlState 22008

Attributes

Source:
SqlState.scala
case case DeadlockDetected extends SqlState

SqlState 40P01

SqlState 40P01

Attributes

Source:
SqlState.scala

SqlState 2BP01

SqlState 2BP01

Attributes

Source:
SqlState.scala

SqlState 2B000

SqlState 2B000

Attributes

Source:
SqlState.scala
case case DeprecatedFeature extends SqlState

SqlState 01P01

SqlState 01P01

Attributes

Source:
SqlState.scala
case case DiskFull extends SqlState

SqlState 53100

SqlState 53100

Attributes

Source:
SqlState.scala
case case DivisionByZero extends SqlState

SqlState 22012

SqlState 22012

Attributes

Source:
SqlState.scala
case case DuplicateAlias extends SqlState

SqlState 42712

SqlState 42712

Attributes

Source:
SqlState.scala
case case DuplicateColumn extends SqlState

SqlState 42701

SqlState 42701

Attributes

Source:
SqlState.scala
case case DuplicateCursor extends SqlState

SqlState 42P03

SqlState 42P03

Attributes

Source:
SqlState.scala
case case DuplicateDatabase extends SqlState

SqlState 42P04

SqlState 42P04

Attributes

Source:
SqlState.scala
case case DuplicateFile extends SqlState

SqlState 58P02

SqlState 58P02

Attributes

Source:
SqlState.scala
case case DuplicateFunction extends SqlState

SqlState 42723

SqlState 42723

Attributes

Source:
SqlState.scala
case case DuplicateObject extends SqlState

SqlState 42710

SqlState 42710

Attributes

Source:
SqlState.scala

SqlState 42P05

SqlState 42P05

Attributes

Source:
SqlState.scala
case case DuplicateSchema extends SqlState

SqlState 42P06

SqlState 42P06

Attributes

Source:
SqlState.scala
case case DuplicateTable extends SqlState

SqlState 42P07

SqlState 42P07

Attributes

Source:
SqlState.scala

SqlState 0100C

SqlState 0100C

Attributes

Source:
SqlState.scala
case case ErrorInAssignment extends SqlState

SqlState 22005

SqlState 22005

Attributes

Source:
SqlState.scala

SqlState 2200B

SqlState 2200B

Attributes

Source:
SqlState.scala
case case ExclusionViolation extends SqlState

SqlState 23P01

SqlState 23P01

Attributes

Source:
SqlState.scala

SqlState 38000

SqlState 38000

Attributes

Source:
SqlState.scala

SqlState 39000

SqlState 39000

Attributes

Source:
SqlState.scala
case case FeatureNotSupported extends SqlState

SqlState 0A000

SqlState 0A000

Attributes

Source:
SqlState.scala

SqlState 22P01

SqlState 22P01

Attributes

Source:
SqlState.scala
case case ForeignKeyViolation extends SqlState

SqlState 23503

SqlState 23503

Attributes

Source:
SqlState.scala

SqlState 2F005

SqlState 2F005

Attributes

Source:
SqlState.scala
case case GroupingError extends SqlState

SqlState 42803

SqlState 42803

Attributes

Source:
SqlState.scala

SqlState 25008

SqlState 25008

Attributes

Source:
SqlState.scala

SqlState 01008

SqlState 01008

Attributes

Source:
SqlState.scala

SqlState 25P02

SqlState 25P02

Attributes

Source:
SqlState.scala

SqlState 25003

SqlState 25003

Attributes

Source:
SqlState.scala

SqlState 25004

SqlState 25004

Attributes

Source:
SqlState.scala

SqlState 42P18

SqlState 42P18

Attributes

Source:
SqlState.scala
case case IndexCorrupted extends SqlState

SqlState XX002

SqlState XX002

Attributes

Source:
SqlState.scala
case case IndicatorOverflow extends SqlState

SqlState 22022

SqlState 22022

Attributes

Source:
SqlState.scala

SqlState 42501

SqlState 42501

Attributes

Source:
SqlState.scala

SqlState 53000

SqlState 53000

Attributes

Source:
SqlState.scala

SqlState 23000

SqlState 23000

Attributes

Source:
SqlState.scala
case case InternalError extends SqlState

SqlState XX000

SqlState XX000

Attributes

Source:
SqlState.scala

SqlState 22015

SqlState 22015

Attributes

Source:
SqlState.scala

SqlState 2201E

SqlState 2201E

Attributes

Source:
SqlState.scala

SqlState 22016

SqlState 22016

Attributes

Source:
SqlState.scala

SqlState 22014

SqlState 22014

Attributes

Source:
SqlState.scala

SqlState 2201F

SqlState 2201F

Attributes

Source:
SqlState.scala

SqlState 2201G

SqlState 2201G

Attributes

Source:
SqlState.scala

SqlState 28000

SqlState 28000

Attributes

Source:
SqlState.scala

SqlState 22P03

SqlState 22P03

Attributes

Source:
SqlState.scala
case case InvalidCatalogName extends SqlState

SqlState 3D000

SqlState 3D000

Attributes

Source:
SqlState.scala

SqlState 22018

SqlState 22018

Attributes

Source:
SqlState.scala

SqlState 42611

SqlState 42611

Attributes

Source:
SqlState.scala

SqlState 42P10

SqlState 42P10

Attributes

Source:
SqlState.scala

SqlState 42P11

SqlState 42P11

Attributes

Source:
SqlState.scala
case case InvalidCursorName extends SqlState

SqlState 34000

SqlState 34000

Attributes

Source:
SqlState.scala
case case InvalidCursorState extends SqlState

SqlState 24000

SqlState 24000

Attributes

Source:
SqlState.scala

SqlState 42P12

SqlState 42P12

Attributes

Source:
SqlState.scala

SqlState 22007

SqlState 22007

Attributes

Source:
SqlState.scala

SqlState 22019

SqlState 22019

Attributes

Source:
SqlState.scala
case case InvalidEscapeOctet extends SqlState

SqlState 2200D

SqlState 2200D

Attributes

Source:
SqlState.scala

SqlState 22025

SqlState 22025

Attributes

Source:
SqlState.scala
case case InvalidForeignKey extends SqlState

SqlState 42830

SqlState 42830

Attributes

Source:
SqlState.scala

SqlState 42P13

SqlState 42P13

Attributes

Source:
SqlState.scala

SqlState 0LP01

SqlState 0LP01

Attributes

Source:
SqlState.scala
case case InvalidGrantor extends SqlState

SqlState 0L000

SqlState 0L000

Attributes

Source:
SqlState.scala

SqlState 22010

SqlState 22010

Attributes

Source:
SqlState.scala

SqlState 0F001

SqlState 0F001

Attributes

Source:
SqlState.scala
case case InvalidName extends SqlState

SqlState 42602

SqlState 42602

Attributes

Source:
SqlState.scala

SqlState 42P17

SqlState 42P17

Attributes

Source:
SqlState.scala

SqlState 22023

SqlState 22023

Attributes

Source:
SqlState.scala
case case InvalidPassword extends SqlState

SqlState 28P01

SqlState 28P01

Attributes

Source:
SqlState.scala

SqlState 42P14

SqlState 42P14

Attributes

Source:
SqlState.scala
case case InvalidRecursion extends SqlState

SqlState 42P19

SqlState 42P19

Attributes

Source:
SqlState.scala

SqlState 2201B

SqlState 2201B

Attributes

Source:
SqlState.scala

SqlState 0P000

SqlState 0P000

Attributes

Source:
SqlState.scala

SqlState 2201W

SqlState 2201W

Attributes

Source:
SqlState.scala

SqlState 2201X

SqlState 2201X

Attributes

Source:
SqlState.scala

SqlState 3B001

SqlState 3B001

Attributes

Source:
SqlState.scala

SqlState 42P15

SqlState 42P15

Attributes

Source:
SqlState.scala
case case InvalidSchemaName extends SqlState

SqlState 3F000

SqlState 3F000

Attributes

Source:
SqlState.scala

SqlState 26000

SqlState 26000

Attributes

Source:
SqlState.scala

SqlState 39001

SqlState 39001

Attributes

Source:
SqlState.scala

SqlState 42P16

SqlState 42P16

Attributes

Source:
SqlState.scala

SqlState 22P02

SqlState 22P02

Attributes

Source:
SqlState.scala

SqlState 22009

SqlState 22009

Attributes

Source:
SqlState.scala

SqlState 0B000

SqlState 0B000

Attributes

Source:
SqlState.scala

SqlState 25000

SqlState 25000

Attributes

Source:
SqlState.scala

SqlState 2D000

SqlState 2D000

Attributes

Source:
SqlState.scala

SqlState 2200C

SqlState 2200C

Attributes

Source:
SqlState.scala
case case InvalidXmlComment extends SqlState

SqlState 2200S

SqlState 2200S

Attributes

Source:
SqlState.scala
case case InvalidXmlContent extends SqlState

SqlState 2200N

SqlState 2200N

Attributes

Source:
SqlState.scala
case case InvalidXmlDocument extends SqlState

SqlState 2200M

SqlState 2200M

Attributes

Source:
SqlState.scala

SqlState 2200T

SqlState 2200T

Attributes

Source:
SqlState.scala
case case IoError extends SqlState

SqlState 58030

SqlState 58030

Attributes

Source:
SqlState.scala
case case LocatorException extends SqlState

SqlState 0F000

SqlState 0F000

Attributes

Source:
SqlState.scala
case case LockFileExists extends SqlState

SqlState F0001

SqlState F0001

Attributes

Source:
SqlState.scala
case case LockNotAvailable extends SqlState

SqlState 55P03

SqlState 55P03

Attributes

Source:
SqlState.scala

SqlState 2F002

SqlState 2F002

Attributes

Source:
SqlState.scala

SqlState 38002

SqlState 38002

Attributes

Source:
SqlState.scala

SqlState 2200G

SqlState 2200G

Attributes

Source:
SqlState.scala
case case NameTooLong extends SqlState

SqlState 42622

SqlState 42622

Attributes

Source:
SqlState.scala

SqlState 25P01

SqlState 25P01

Attributes

Source:
SqlState.scala

SqlState 25005

SqlState 25005

Attributes

Source:
SqlState.scala

SqlState 02001

SqlState 02001

Attributes

Source:
SqlState.scala
case case NoData extends SqlState

SqlState 02000

SqlState 02000

Attributes

Source:
SqlState.scala
case case NoDataFound extends SqlState

SqlState P0002

SqlState P0002

Attributes

Source:
SqlState.scala

SqlState 22P06

SqlState 22P06

Attributes

Source:
SqlState.scala
case case NotAnXmlDocument extends SqlState

SqlState 2200L

SqlState 2200L

Attributes

Source:
SqlState.scala
case case NotNullViolation extends SqlState

SqlState 23502

SqlState 23502

Attributes

Source:
SqlState.scala

SqlState 01003

SqlState 01003

Attributes

Source:
SqlState.scala

SqlState 22002

SqlState 22002

Attributes

Source:
SqlState.scala
case case NullValueNotAllowed extends SqlState

SqlState 22004

SqlState 22004

Attributes

Source:
SqlState.scala

SqlState 39004

SqlState 39004

Attributes

Source:
SqlState.scala

SqlState 22003

SqlState 22003

Attributes

Source:
SqlState.scala
case case ObjectInUse extends SqlState

SqlState 55006

SqlState 55006

Attributes

Source:
SqlState.scala

SqlState 55000

SqlState 55000

Attributes

Source:
SqlState.scala
case case OperatorIntervention extends SqlState

SqlState 57000

SqlState 57000

Attributes

Source:
SqlState.scala
case case OutOfMemory extends SqlState

SqlState 53200

SqlState 53200

Attributes

Source:
SqlState.scala
case case PlpgsqlError extends SqlState

SqlState P0000

SqlState P0000

Attributes

Source:
SqlState.scala
case case PrivilegeNotGranted extends SqlState

SqlState 01007

SqlState 01007

Attributes

Source:
SqlState.scala
case case PrivilegeNotRevoked extends SqlState

SqlState 01006

SqlState 01006

Attributes

Source:
SqlState.scala
case case ProgramLimitExceeded extends SqlState

SqlState 54000

SqlState 54000

Attributes

Source:
SqlState.scala

SqlState 2F003

SqlState 2F003

Attributes

Source:
SqlState.scala

SqlState 38003

SqlState 38003

Attributes

Source:
SqlState.scala
case case ProtocolViolation extends SqlState

SqlState 08P01

SqlState 08P01

Attributes

Source:
SqlState.scala
case case QueryCanceled extends SqlState

SqlState 57014

SqlState 57014

Attributes

Source:
SqlState.scala
case case RaiseException extends SqlState

SqlState P0001

SqlState P0001

Attributes

Source:
SqlState.scala

SqlState 25006

SqlState 25006

Attributes

Source:
SqlState.scala

SqlState 2F004

SqlState 2F004

Attributes

Source:
SqlState.scala

SqlState 38004

SqlState 38004

Attributes

Source:
SqlState.scala
case case ReservedName extends SqlState

SqlState 42939

SqlState 42939

Attributes

Source:
SqlState.scala
case case RestrictViolation extends SqlState

SqlState 23001

SqlState 23001

Attributes

Source:
SqlState.scala
case case SavepointException extends SqlState

SqlState 3B000

SqlState 3B000

Attributes

Source:
SqlState.scala

SqlState 25007

SqlState 25007

Attributes

Source:
SqlState.scala
case case SerializationFailure extends SqlState

SqlState 40001

SqlState 40001

Attributes

Source:
SqlState.scala

SqlState 08001

SqlState 08001

Attributes

Source:
SqlState.scala
case case SqlRoutineException extends SqlState

SqlState 2F000

SqlState 2F000

Attributes

Source:
SqlState.scala

SqlState 08004

SqlState 08004

Attributes

Source:
SqlState.scala

SqlState 03000

SqlState 03000

Attributes

Source:
SqlState.scala
case case SrfProtocolViolated extends SqlState

SqlState 39P02

SqlState 39P02

Attributes

Source:
SqlState.scala

SqlState 40003

SqlState 40003

Attributes

Source:
SqlState.scala
case case StatementTooComplex extends SqlState

SqlState 54001

SqlState 54001

Attributes

Source:
SqlState.scala

SqlState 22026

SqlState 22026

Attributes

Source:
SqlState.scala

SqlState 22001

SqlState 22001

Attributes

Source:
SqlState.scala

SqlState 01004

SqlState 01004

Attributes

Source:
SqlState.scala
case case SubstringError extends SqlState

SqlState 22011

SqlState 22011

Attributes

Source:
SqlState.scala
case case SuccessfulCompletion extends SqlState

SqlState 00000

SqlState 00000

Attributes

Source:
SqlState.scala
case case SyntaxError extends SqlState

SqlState 42601

SqlState 42601

Attributes

Source:
SqlState.scala

SqlState 42000

SqlState 42000

Attributes

Source:
SqlState.scala
case case TooManyArguments extends SqlState

SqlState 54023

SqlState 54023

Attributes

Source:
SqlState.scala
case case TooManyColumns extends SqlState

SqlState 54011

SqlState 54011

Attributes

Source:
SqlState.scala
case case TooManyConnections extends SqlState

SqlState 53300

SqlState 53300

Attributes

Source:
SqlState.scala
case case TooManyRows extends SqlState

SqlState P0003

SqlState P0003

Attributes

Source:
SqlState.scala

SqlState 40002

SqlState 40002

Attributes

Source:
SqlState.scala

SqlState 08007

SqlState 08007

Attributes

Source:
SqlState.scala
case case TransactionRollback extends SqlState

SqlState 40000

SqlState 40000

Attributes

Source:
SqlState.scala

SqlState 39P01

SqlState 39P01

Attributes

Source:
SqlState.scala

SqlState 09000

SqlState 09000

Attributes

Source:
SqlState.scala

SqlState 27000

SqlState 27000

Attributes

Source:
SqlState.scala
case case TrimError extends SqlState

SqlState 22027

SqlState 22027

Attributes

Source:
SqlState.scala
case case UndefinedColumn extends SqlState

SqlState 42703

SqlState 42703

Attributes

Source:
SqlState.scala
case case UndefinedFile extends SqlState

SqlState 58P01

SqlState 58P01

Attributes

Source:
SqlState.scala
case case UndefinedFunction extends SqlState

SqlState 42883

SqlState 42883

Attributes

Source:
SqlState.scala
case case UndefinedObject extends SqlState

SqlState 42704

SqlState 42704

Attributes

Source:
SqlState.scala
case case UndefinedParameter extends SqlState

SqlState 42P02

SqlState 42P02

Attributes

Source:
SqlState.scala
case case UndefinedTable extends SqlState

SqlState 42P01

SqlState 42P01

Attributes

Source:
SqlState.scala
case case UniqueViolation extends SqlState

SqlState 23505

SqlState 23505

Attributes

Source:
SqlState.scala
case case UnterminatedCString extends SqlState

SqlState 22024

SqlState 22024

Attributes

Source:
SqlState.scala

SqlState 22P05

SqlState 22P05

Attributes

Source:
SqlState.scala
case case Warning extends SqlState

SqlState 01000

SqlState 01000

Attributes

Source:
SqlState.scala
case case WindowingError extends SqlState

SqlState 42P20

SqlState 42P20

Attributes

Source:
SqlState.scala

SqlState 44000

SqlState 44000

Attributes

Source:
SqlState.scala
case case WrongObjectType extends SqlState

SqlState 42809

SqlState 42809

Attributes

Source:
SqlState.scala

SqlState 2200F

SqlState 2200F

Attributes

Source:
SqlState.scala