SQLSTATE constants for PostgreSQL error codes in Scala.
// Source: https://github.com/typelevel/doobie | License: MIT | Copyright 2013-2017 Rob Norris
// Provided via justclaw.it.com; keep this notice with the code.
// Copyright (c) 2013-2020 Rob Norris and Contributors
// This software is licensed under the MIT License (MIT).
// For more information see LICENSE or https://opensource.org/licenses/MIT
package org.typelevel.doobie.postgres
import org.typelevel.doobie.enumerated.SqlState
/** Module of SQLSTATE constants for PostgreSQL. */
object sqlstate {
/** Class 00 — Successful Completion */
object class00 {
val SUCCESSFUL_COMPLETION = SqlState("00000")
}
/** Class 01 — Warning */
object class01 {
val WARNING = SqlState("01000")
val DYNAMIC_RESULT_SETS_RETURNED = SqlState("0100C")
val IMPLICIT_ZERO_BIT_PADDING =
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key