Packages

o

doobie.util

invariant

object invariant

Module defining the type of exceptions representing unmet expectations. These typically indicate a problem with the schema, with type mapping, with driver compliance, and so on. The intent is that they be as fine-grained as reasonable for diagnostic purposes, but it is not expected that the application should be able to handle them in any meaningful way.

Source
invariant.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. invariant
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. sealed abstract class ArrayStructureViolation extends InvariantViolation

    Array violations.

    Array violations. Not terribly illuminating at this point.

  2. final case class InvalidEnum[A](value: String)(implicit ev: scala.reflect.api.JavaUniverse.TypeTag[A]) extends InvariantViolation with Product with Serializable

    Unexpected string value for an enumerated type.

  3. final case class InvalidObjectMapping[A, B](expected: Class[A], actual: Class[B]) extends InvariantViolation with Product with Serializable

    Invalid JAVA_OBJECT mapping.

  4. final case class InvalidOrdinal[A](value: Int)(implicit ev: scala.reflect.api.JavaUniverse.TypeTag[A]) extends InvariantViolation with Product with Serializable

    Unexpected ordinal value for an enumerated type.

  5. final case class InvalidValue[A, B](value: A, reason: String)(implicit sA: Show[A], evA: scala.reflect.api.JavaUniverse.TypeTag[A], evB: scala.reflect.api.JavaUniverse.TypeTag[B]) extends InvariantViolation with Product with Serializable
  6. sealed abstract class InvariantViolation extends Exception
  7. sealed abstract class MappingViolation extends InvariantViolation

    The type of schema violations.

  8. final case class NonNullableColumnRead(index: Int, jdbcType: JdbcType) extends MappingViolation with Product with Serializable
  9. final case class NonNullableColumnUpdate(index: Int, jdbcType: JdbcType) extends MappingViolation with Product with Serializable
  10. final case class NonNullableParameter(index: Int, jdbcType: JdbcType) extends MappingViolation with Product with Serializable
  11. final case class SecondaryValidationFailed[A](value: String)(implicit ev: scala.reflect.api.JavaUniverse.TypeTag[A]) extends InvariantViolation with Product with Serializable
  12. sealed abstract class UnexpectedCursorPosition extends InvariantViolation

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( ... ) @native() @HotSpotIntrinsicCandidate()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  9. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  10. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  11. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  15. def toString(): String
    Definition Classes
    AnyRef → Any
  16. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  17. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  18. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. object NullableCellRead extends ArrayStructureViolation with Product with Serializable
  20. object NullableCellUpdate extends ArrayStructureViolation with Product with Serializable
  21. object UnexpectedContinuation extends UnexpectedCursorPosition with Product with Serializable
  22. object UnexpectedEnd extends UnexpectedCursorPosition with Product with Serializable

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from AnyRef

Inherited from Any

Ungrouped