doobie.util

catchsql

object catchsql

Module of additional combinators for Catchable, specific to SQLException.

Source
catchsql.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. catchsql
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def attemptSomeSqlState[M[_], A, B](ma: M[A])(f: PartialFunction[SqlState, B])(implicit arg0: Monad[M], arg1: Catchable[M]): M[\/[B, A]]

  8. def attemptSql[M[_], A](ma: M[A])(implicit arg0: Monad[M], arg1: Catchable[M]): M[\/[SQLException, A]]

    Like attempt but catches only SQLException.

  9. def attemptSqlState[M[_], A](ma: M[A])(implicit arg0: Monad[M], arg1: Catchable[M]): M[\/[SqlState, A]]

    Like attemptSql but yields only the exception's SqlState.

  10. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  13. def exceptSomeSqlState[M[_], A](ma: M[A])(pf: PartialFunction[SqlState, M[A]])(implicit arg0: Monad[M], arg1: Catchable[M]): M[A]

    Executes the handler where defined, for exceptions propagating from ma.

  14. def exceptSql[M[_], A](ma: M[A])(handler: (SQLException) ⇒ M[A])(implicit arg0: Monad[M], arg1: Catchable[M]): M[A]

    Executes the handler, for exceptions propagating from ma.

  15. def exceptSqlState[M[_], A](ma: M[A])(handler: (SqlState) ⇒ M[A])(implicit arg0: Monad[M], arg1: Catchable[M]): M[A]

    Executes the handler, for exceptions propagating from ma.

  16. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  18. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  19. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  20. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  23. def onSqlException[M[_], A, B](ma: M[A])(action: M[B])(implicit arg0: Monad[M], arg1: Catchable[M]): M[A]

    Like "finally", but only performs the final action if there was an exception.

  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  25. def toString(): String

    Definition Classes
    AnyRef → Any
  26. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped