Packages

  • package root
    Definition Classes
    root
  • package skunk

    Skunk is a functional data access layer for Postgres.

    Skunk is a functional data access layer for Postgres.

    Design principles:

    • Skunk doesn't use JDBC. It speaks the Postgres wire protocol. It will not work with any other database back end.
    • Skunk is asynchronous all the way down, via cats-effect, fs2, and ultimately nio. The high-level network layers (Protocol and Session) are safe to use concurrently.
    • Serialization to and from schema types is not typeclass-based, so there are no implicit derivations. Codecs are explicit, like parser combinators.
    • I'm not sweating arity abstraction that much. Pass a ~ b ~ c for three args and Void if there are no args. This may change in the future but it's fine for now.
    • Skunk uses Resource for lifetime-managed objects, which means it takes some discipline to avoid leaks, especially when working concurrently. May or may not end up being problematic.
    • I'm trying to write good Scaladoc this time.

    A minimal example follows. We construct a Resource that yields a Session, then use it.

    package example
    
    import cats.effect._
    import skunk._
    import skunk.implicits._
    import skunk.codec.numeric._
    
    object Minimal extends IOApp {
    
      val session: Resource[IO, Session[IO]] =
        Session.single(
          host     = "localhost",
          port     = 5432,
          user     = "postgres",
          database = "world",
        )
    
      def run(args: List[String]): IO[ExitCode] =
        session.use { s =>
          for {
            n <- s.unique(sql"select 42".query(int4))
            _ <- IO(println(s"The answer is $n."))
          } yield ExitCode.Success
        }
    
    }

    Continue reading for an overview of the library. It's pretty small.

    Definition Classes
    root
  • package codec
    Definition Classes
    skunk
  • package data
    Definition Classes
    skunk
  • package exception
    Definition Classes
    skunk
  • package net

    Skunk network stack, starting with BitVectorSocket at the bottom and ending with Protocol at the top (Session delegates all its work to Protocol).

    Skunk network stack, starting with BitVectorSocket at the bottom and ending with Protocol at the top (Session delegates all its work to Protocol). Everything is non-blocking.

    Definition Classes
    skunk
  • package syntax
    Definition Classes
    skunk
  • package util
    Definition Classes
    skunk
  • AppliedFragment
  • Channel
  • Codec
  • Command
  • Cursor
  • Decoder
  • Encoder
  • Fragment
  • PreparedCommand
  • PreparedQuery
  • Query
  • SSL
  • Session
  • SqlState
  • Statement
  • Transaction
  • Void
  • implicits
  • ~

object SqlState extends Enum[SqlState]

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

doSomething.recoverWith { case SqlState.ForeignKeyViolation(ex) => ... }
Source
SqlState.scala
See also

PostgreSQL Error Codes

Linear Supertypes
Ordering
  1. Grouped
  2. Alphabetic
  3. By Inheritance
Inherited
  1. SqlState
  2. Enum
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  9. macro def findValues: IndexedSeq[SqlState]
    Attributes
    protected
    Definition Classes
    Enum
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def indexOf(member: SqlState): Int
    Definition Classes
    Enum
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. final lazy val lowerCaseNamesToValuesMap: Map[String, SqlState]
    Definition Classes
    Enum
  15. lazy val namesToValuesMap: Map[String, SqlState]
    Definition Classes
    Enum
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  20. def toString(): String
    Definition Classes
    AnyRef → Any
  21. final lazy val upperCaseNameValuesToMap: Map[String, SqlState]
    Definition Classes
    Enum
  22. val values: IndexedSeq[SqlState]
    Definition Classes
    SqlState → Enum
  23. final lazy val valuesToIndex: Map[SqlState, Int]
    Definition Classes
    Enum
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  27. def withName(name: String): SqlState
    Definition Classes
    Enum
    Annotations
    @SuppressWarnings()
  28. def withNameEither(name: String): Either[NoSuchMember[SqlState], SqlState]
    Definition Classes
    Enum
  29. def withNameInsensitive(name: String): SqlState
    Definition Classes
    Enum
    Annotations
    @SuppressWarnings()
  30. def withNameInsensitiveEither(name: String): Either[NoSuchMember[SqlState], SqlState]
    Definition Classes
    Enum
  31. def withNameInsensitiveOption(name: String): Option[SqlState]
    Definition Classes
    Enum
  32. def withNameLowercaseOnly(name: String): SqlState
    Definition Classes
    Enum
    Annotations
    @SuppressWarnings()
  33. def withNameLowercaseOnlyEither(name: String): Either[NoSuchMember[SqlState], SqlState]
    Definition Classes
    Enum
  34. def withNameLowercaseOnlyOption(name: String): Option[SqlState]
    Definition Classes
    Enum
  35. def withNameOption(name: String): Option[SqlState]
    Definition Classes
    Enum
  36. def withNameUppercaseOnly(name: String): SqlState
    Definition Classes
    Enum
    Annotations
    @SuppressWarnings()
  37. def withNameUppercaseOnlyEither(name: String): Either[NoSuchMember[SqlState], SqlState]
    Definition Classes
    Enum
  38. def withNameUppercaseOnlyOption(name: String): Option[SqlState]
    Definition Classes
    Enum
  39. case object ActiveSqlTransaction extends SqlState with Product with Serializable

    SqlState 25001

  40. case object AdminShutdown extends SqlState with Product with Serializable

    SqlState 57P01

  41. case object AmbiguousAlias extends SqlState with Product with Serializable

    SqlState 42P09

  42. case object AmbiguousColumn extends SqlState with Product with Serializable

    SqlState 42702

  43. case object AmbiguousFunction extends SqlState with Product with Serializable

    SqlState 42725

  44. case object AmbiguousParameter extends SqlState with Product with Serializable

    SqlState 42P08

  45. case object ArraySubscriptError extends SqlState with Product with Serializable

    SqlState 2202E

  46. case object BadCopyFileFormat extends SqlState with Product with Serializable

    SqlState 22P04

  47. case object BranchTransactionAlreadyActive extends SqlState with Product with Serializable

    SqlState 25002

  48. case object CannotCoerce extends SqlState with Product with Serializable

    SqlState 42846

  49. case object CannotConnectNow extends SqlState with Product with Serializable

    SqlState 57P03

  50. case object CantChangeRuntimeParam extends SqlState with Product with Serializable

    SqlState 55P02

  51. case object CardinalityViolation extends SqlState with Product with Serializable

    SqlState 21000

  52. case object CaseNotFound extends SqlState with Product with Serializable

    SqlState 20000

  53. case object CharacterNotInRepertoire extends SqlState with Product with Serializable

    SqlState 22021

  54. case object CheckViolation extends SqlState with Product with Serializable

    SqlState 23514

  55. case object ConfigFileError extends SqlState with Product with Serializable

    SqlState F0000

  56. case object ConnectionDoesNotExist extends SqlState with Product with Serializable

    SqlState 08003

  57. case object ConnectionException extends SqlState with Product with Serializable

    SqlState 08000

  58. case object ConnectionFailure extends SqlState with Product with Serializable

    SqlState 08006

  59. case object ContainingSqlNotPermitted extends SqlState with Product with Serializable

    SqlState 38001

  60. case object CrashShutdown extends SqlState with Product with Serializable

    SqlState 57P02

  61. case object DataCorrupted extends SqlState with Product with Serializable

    SqlState XX001

  62. case object DataException extends SqlState with Product with Serializable

    SqlState 22000

  63. case object DatabaseDropped extends SqlState with Product with Serializable

    SqlState 57P04

  64. case object DatatypeMismatch extends SqlState with Product with Serializable

    SqlState 42804

  65. case object DatetimeFieldOverflow extends SqlState with Product with Serializable

    SqlState 22008

  66. case object DeadlockDetected extends SqlState with Product with Serializable

    SqlState 40P01

  67. case object DependentObjectsStillExist extends SqlState with Product with Serializable

    SqlState 2BP01

  68. case object DependentPrivilegeDescriptorsStillExist extends SqlState with Product with Serializable

    SqlState 2B000

  69. case object DeprecatedFeature extends SqlState with Product with Serializable

    SqlState 01P01

  70. case object DiskFull extends SqlState with Product with Serializable

    SqlState 53100

  71. case object DivisionByZero extends SqlState with Product with Serializable

    SqlState 22012

  72. case object DuplicateAlias extends SqlState with Product with Serializable

    SqlState 42712

  73. case object DuplicateColumn extends SqlState with Product with Serializable

    SqlState 42701

  74. case object DuplicateCursor extends SqlState with Product with Serializable

    SqlState 42P03

  75. case object DuplicateDatabase extends SqlState with Product with Serializable

    SqlState 42P04

  76. case object DuplicateFile extends SqlState with Product with Serializable

    SqlState 58P02

  77. case object DuplicateFunction extends SqlState with Product with Serializable

    SqlState 42723

  78. case object DuplicateObject extends SqlState with Product with Serializable

    SqlState 42710

  79. case object DuplicatePreparedStatement extends SqlState with Product with Serializable

    SqlState 42P05

  80. case object DuplicateSchema extends SqlState with Product with Serializable

    SqlState 42P06

  81. case object DuplicateTable extends SqlState with Product with Serializable

    SqlState 42P07

  82. case object DynamicResultSetsReturned extends SqlState with Product with Serializable

    SqlState 0100C

  83. case object ErrorInAssignment extends SqlState with Product with Serializable

    SqlState 22005

  84. case object EscapeCharacterConflict extends SqlState with Product with Serializable

    SqlState 2200B

  85. case object ExclusionViolation extends SqlState with Product with Serializable

    SqlState 23P01

  86. case object ExternalRoutineException extends SqlState with Product with Serializable

    SqlState 38000

  87. case object ExternalRoutineInvocationException extends SqlState with Product with Serializable

    SqlState 39000

  88. case object FeatureNotSupported extends SqlState with Product with Serializable

    SqlState 0A000

  89. case object FloatingPointException extends SqlState with Product with Serializable

    SqlState 22P01

  90. case object ForeignKeyViolation extends SqlState with Product with Serializable

    SqlState 23503

  91. case object FunctionExecutedNoReturnStatement extends SqlState with Product with Serializable

    SqlState 2F005

  92. case object GroupingError extends SqlState with Product with Serializable

    SqlState 42803

  93. case object HeldCursorRequiresSameIsolationLevel extends SqlState with Product with Serializable

    SqlState 25008

  94. case object ImplicitZeroBitPadding extends SqlState with Product with Serializable

    SqlState 01008

  95. case object InFailedSqlTransaction extends SqlState with Product with Serializable

    SqlState 25P02

  96. case object InappropriateAccessModeForBranchTransaction extends SqlState with Product with Serializable

    SqlState 25003

  97. case object InappropriateIsolationLevelForBranchTransaction extends SqlState with Product with Serializable

    SqlState 25004

  98. case object IndeterminateDatatype extends SqlState with Product with Serializable

    SqlState 42P18

  99. case object IndexCorrupted extends SqlState with Product with Serializable

    SqlState XX002

  100. case object IndicatorOverflow extends SqlState with Product with Serializable

    SqlState 22022

  101. case object InsufficientPrivilege extends SqlState with Product with Serializable

    SqlState 42501

  102. case object InsufficientResources extends SqlState with Product with Serializable

    SqlState 53000

  103. case object IntegrityConstraintViolation extends SqlState with Product with Serializable

    SqlState 23000

  104. case object InternalError extends SqlState with Product with Serializable

    SqlState XX000

  105. case object IntervalFieldOverflow extends SqlState with Product with Serializable

    SqlState 22015

  106. case object InvalidArgumentForLogarithm extends SqlState with Product with Serializable

    SqlState 2201E

  107. case object InvalidArgumentForNthValueFunction extends SqlState with Product with Serializable

    SqlState 22016

  108. case object InvalidArgumentForNtileFunction extends SqlState with Product with Serializable

    SqlState 22014

  109. case object InvalidArgumentForPowerFunction extends SqlState with Product with Serializable

    SqlState 2201F

  110. case object InvalidArgumentForWidthBucketFunction extends SqlState with Product with Serializable

    SqlState 2201G

  111. case object InvalidAuthorizationSpecification extends SqlState with Product with Serializable

    SqlState 28000

  112. case object InvalidBinaryRepresentation extends SqlState with Product with Serializable

    SqlState 22P03

  113. case object InvalidCatalogName extends SqlState with Product with Serializable

    SqlState 3D000

  114. case object InvalidCharacterValueForCast extends SqlState with Product with Serializable

    SqlState 22018

  115. case object InvalidColumnDefinition extends SqlState with Product with Serializable

    SqlState 42611

  116. case object InvalidColumnReference extends SqlState with Product with Serializable

    SqlState 42P10

  117. case object InvalidCursorDefinition extends SqlState with Product with Serializable

    SqlState 42P11

  118. case object InvalidCursorName extends SqlState with Product with Serializable

    SqlState 34000

  119. case object InvalidCursorState extends SqlState with Product with Serializable

    SqlState 24000

  120. case object InvalidDatabaseDefinition extends SqlState with Product with Serializable

    SqlState 42P12

  121. case object InvalidDatetimeFormat extends SqlState with Product with Serializable

    SqlState 22007

  122. case object InvalidEscapeCharacter extends SqlState with Product with Serializable

    SqlState 22019

  123. case object InvalidEscapeOctet extends SqlState with Product with Serializable

    SqlState 2200D

  124. case object InvalidEscapeSequence extends SqlState with Product with Serializable

    SqlState 22025

  125. case object InvalidForeignKey extends SqlState with Product with Serializable

    SqlState 42830

  126. case object InvalidFunctionDefinition extends SqlState with Product with Serializable

    SqlState 42P13

  127. case object InvalidGrantOperation extends SqlState with Product with Serializable

    SqlState 0LP01

  128. case object InvalidGrantor extends SqlState with Product with Serializable

    SqlState 0L000

  129. case object InvalidIndicatorParameterValue extends SqlState with Product with Serializable

    SqlState 22010

  130. case object InvalidLocatorSpecification extends SqlState with Product with Serializable

    SqlState 0F001

  131. case object InvalidName extends SqlState with Product with Serializable

    SqlState 42602

  132. case object InvalidObjectDefinition extends SqlState with Product with Serializable

    SqlState 42P17

  133. case object InvalidParameterValue extends SqlState with Product with Serializable

    SqlState 22023

  134. case object InvalidPassword extends SqlState with Product with Serializable

    SqlState 28P01

  135. case object InvalidPreparedStatementDefinition extends SqlState with Product with Serializable

    SqlState 42P14

  136. case object InvalidRecursion extends SqlState with Product with Serializable

    SqlState 42P19

  137. case object InvalidRegularExpression extends SqlState with Product with Serializable

    SqlState 2201B

  138. case object InvalidRoleSpecification extends SqlState with Product with Serializable

    SqlState 0P000

  139. case object InvalidRowCountInLimitClause extends SqlState with Product with Serializable

    SqlState 2201W

  140. case object InvalidRowCountInResultOffsetClause extends SqlState with Product with Serializable

    SqlState 2201X

  141. case object InvalidSavepointSpecification extends SqlState with Product with Serializable

    SqlState 3B001

  142. case object InvalidSchemaDefinition extends SqlState with Product with Serializable

    SqlState 42P15

  143. case object InvalidSchemaName extends SqlState with Product with Serializable

    SqlState 3F000

  144. case object InvalidSqlStatementName extends SqlState with Product with Serializable

    SqlState 26000

  145. case object InvalidSqlstateReturned extends SqlState with Product with Serializable

    SqlState 39001

  146. case object InvalidTableDefinition extends SqlState with Product with Serializable

    SqlState 42P16

  147. case object InvalidTextRepresentation extends SqlState with Product with Serializable

    SqlState 22P02

  148. case object InvalidTimeZoneDisplacementValue extends SqlState with Product with Serializable

    SqlState 22009

  149. case object InvalidTransactionInitiation extends SqlState with Product with Serializable

    SqlState 0B000

  150. case object InvalidTransactionState extends SqlState with Product with Serializable

    SqlState 25000

  151. case object InvalidTransactionTermination extends SqlState with Product with Serializable

    SqlState 2D000

  152. case object InvalidUseOfEscapeCharacter extends SqlState with Product with Serializable

    SqlState 2200C

  153. case object InvalidXmlComment extends SqlState with Product with Serializable

    SqlState 2200S

  154. case object InvalidXmlContent extends SqlState with Product with Serializable

    SqlState 2200N

  155. case object InvalidXmlDocument extends SqlState with Product with Serializable

    SqlState 2200M

  156. case object InvalidXmlProcessingInstruction extends SqlState with Product with Serializable

    SqlState 2200T

  157. case object IoError extends SqlState with Product with Serializable

    SqlState 58030

  158. case object LocatorException extends SqlState with Product with Serializable

    SqlState 0F000

  159. case object LockFileExists extends SqlState with Product with Serializable

    SqlState F0001

  160. case object LockNotAvailable extends SqlState with Product with Serializable

    SqlState 55P03

  161. case object ModifyingSqlDataNotPermitted2F extends SqlState with Product with Serializable

    SqlState 2F002

  162. case object ModifyingSqlDataNotPermitted38 extends SqlState with Product with Serializable

    SqlState 38002

  163. case object MostSpecificTypeMismatch extends SqlState with Product with Serializable

    SqlState 2200G

  164. case object NameTooLong extends SqlState with Product with Serializable

    SqlState 42622

  165. case object NoActiveSqlTransaction extends SqlState with Product with Serializable

    SqlState 25P01

  166. case object NoActiveSqlTransactionForBranchTransaction extends SqlState with Product with Serializable

    SqlState 25005

  167. case object NoAdditionalDynamicResultSetsReturned extends SqlState with Product with Serializable

    SqlState 02001

  168. case object NoData extends SqlState with Product with Serializable

    SqlState 02000

  169. case object NoDataFound extends SqlState with Product with Serializable

    SqlState P0002

  170. case object NonstandardUseOfEscapeCharacter extends SqlState with Product with Serializable

    SqlState 22P06

  171. case object NotAnXmlDocument extends SqlState with Product with Serializable

    SqlState 2200L

  172. case object NotNullViolation extends SqlState with Product with Serializable

    SqlState 23502

  173. case object NullValueEliminatedInSetFunction extends SqlState with Product with Serializable

    SqlState 01003

  174. case object NullValueNoIndicatorParameter extends SqlState with Product with Serializable

    SqlState 22002

  175. case object NullValueNotAllowed extends SqlState with Product with Serializable

    SqlState 22004

  176. case object NullValueNotAllowed39 extends SqlState with Product with Serializable

    SqlState 39004

  177. case object NumericValueOutOfRange extends SqlState with Product with Serializable

    SqlState 22003

  178. case object ObjectInUse extends SqlState with Product with Serializable

    SqlState 55006

  179. case object ObjectNotInPrerequisiteState extends SqlState with Product with Serializable

    SqlState 55000

  180. case object OperatorIntervention extends SqlState with Product with Serializable

    SqlState 57000

  181. case object OutOfMemory extends SqlState with Product with Serializable

    SqlState 53200

  182. case object PlpgsqlError extends SqlState with Product with Serializable

    SqlState P0000

  183. case object PrivilegeNotGranted extends SqlState with Product with Serializable

    SqlState 01007

  184. case object PrivilegeNotRevoked extends SqlState with Product with Serializable

    SqlState 01006

  185. case object ProgramLimitExceeded extends SqlState with Product with Serializable

    SqlState 54000

  186. case object ProhibitedSqlStatementAttempted2F extends SqlState with Product with Serializable

    SqlState 2F003

  187. case object ProhibitedSqlStatementAttempted38 extends SqlState with Product with Serializable

    SqlState 38003

  188. case object ProtocolViolation extends SqlState with Product with Serializable

    SqlState 08P01

  189. case object QueryCanceled extends SqlState with Product with Serializable

    SqlState 57014

  190. case object RaiseException extends SqlState with Product with Serializable

    SqlState P0001

  191. case object ReadOnlySqlTransaction extends SqlState with Product with Serializable

    SqlState 25006

  192. case object ReadingSqlDataNotPermitted2F extends SqlState with Product with Serializable

    SqlState 2F004

  193. case object ReadingSqlDataNotPermitted38 extends SqlState with Product with Serializable

    SqlState 38004

  194. case object ReservedName extends SqlState with Product with Serializable

    SqlState 42939

  195. case object RestrictViolation extends SqlState with Product with Serializable

    SqlState 23001

  196. case object SavepointException extends SqlState with Product with Serializable

    SqlState 3B000

  197. case object SchemaAndDataStatementMixingNotSupported extends SqlState with Product with Serializable

    SqlState 25007

  198. case object SerializationFailure extends SqlState with Product with Serializable

    SqlState 40001

  199. case object SqlClientUnableToEstablishSqlConnection extends SqlState with Product with Serializable

    SqlState 08001

  200. case object SqlRoutineException extends SqlState with Product with Serializable

    SqlState 2F000

  201. case object SqlServerRejectedEstablishmentOfSqlConnection extends SqlState with Product with Serializable

    SqlState 08004

  202. case object SqlStatementNotYetComplete extends SqlState with Product with Serializable

    SqlState 03000

  203. case object SrfProtocolViolated extends SqlState with Product with Serializable

    SqlState 39P02

  204. case object StatementCompletionUnknown extends SqlState with Product with Serializable

    SqlState 40003

  205. case object StatementTooComplex extends SqlState with Product with Serializable

    SqlState 54001

  206. case object StringDataLengthMismatch extends SqlState with Product with Serializable

    SqlState 22026

  207. case object StringDataRightTruncation extends SqlState with Product with Serializable

    SqlState 22001

  208. case object StringDataRightTruncation01 extends SqlState with Product with Serializable

    SqlState 01004

  209. case object SubstringError extends SqlState with Product with Serializable

    SqlState 22011

  210. case object SuccessfulCompletion extends SqlState with Product with Serializable

    SqlState 00000

  211. case object SyntaxError extends SqlState with Product with Serializable

    SqlState 42601

  212. case object SyntaxErrorOrAccessRuleViolation extends SqlState with Product with Serializable

    SqlState 42000

  213. case object TooManyArguments extends SqlState with Product with Serializable

    SqlState 54023

  214. case object TooManyColumns extends SqlState with Product with Serializable

    SqlState 54011

  215. case object TooManyConnections extends SqlState with Product with Serializable

    SqlState 53300

  216. case object TooManyRows extends SqlState with Product with Serializable

    SqlState P0003

  217. case object TransactionIntegrityConstraintViolation extends SqlState with Product with Serializable

    SqlState 40002

  218. case object TransactionResolutionUnknown extends SqlState with Product with Serializable

    SqlState 08007

  219. case object TransactionRollback extends SqlState with Product with Serializable

    SqlState 40000

  220. case object TriggerProtocolViolated extends SqlState with Product with Serializable

    SqlState 39P01

  221. case object TriggeredActionException extends SqlState with Product with Serializable

    SqlState 09000

  222. case object TriggeredDataChangeViolation extends SqlState with Product with Serializable

    SqlState 27000

  223. case object TrimError extends SqlState with Product with Serializable

    SqlState 22027

  224. case object UndefinedColumn extends SqlState with Product with Serializable

    SqlState 42703

  225. case object UndefinedFile extends SqlState with Product with Serializable

    SqlState 58P01

  226. case object UndefinedFunction extends SqlState with Product with Serializable

    SqlState 42883

  227. case object UndefinedObject extends SqlState with Product with Serializable

    SqlState 42704

  228. case object UndefinedParameter extends SqlState with Product with Serializable

    SqlState 42P02

  229. case object UndefinedTable extends SqlState with Product with Serializable

    SqlState 42P01

  230. case object UniqueViolation extends SqlState with Product with Serializable

    SqlState 23505

  231. case object UnterminatedCString extends SqlState with Product with Serializable

    SqlState 22024

  232. case object UntranslatableCharacter extends SqlState with Product with Serializable

    SqlState 22P05

  233. case object Warning extends SqlState with Product with Serializable

    SqlState 01000

  234. case object WindowingError extends SqlState with Product with Serializable

    SqlState 42P20

  235. case object WithCheckOptionViolation extends SqlState with Product with Serializable

    SqlState 44000

  236. case object WrongObjectType extends SqlState with Product with Serializable

    SqlState 42809

  237. case object ZeroLengthCharacterString extends SqlState with Product with Serializable

    SqlState 2200F

Inherited from Enum[SqlState]

Inherited from AnyRef

Inherited from Any

Instances

Ungrouped