Packages

object Catch

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

Type Members

  1. final class PartiallyAppliedUse[F[_], E] extends AnyRef
  2. final case class RaisedInUncancellable[E](e: E, alloc: SourcePos, caller: SourcePos) extends RuntimeException with Product with Serializable
  3. final case class RaisedWithoutHandler[E](e: E, alloc: SourcePos, caller: SourcePos) extends RuntimeException with Product with Serializable

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. def apply[F[_]](implicit F: Catch[F]): Catch[F]
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. def eitherT[F[_]](implicit F: Concurrent[F]): Catch[[γ$6$]EitherT[F, Vault, γ$6$]]
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  11. def fromHandle[F[_]](implicit F: Concurrent[F], H: Handle[F, Vault]): Catch[F]
  12. def fromLocal[F[_]](implicit F: Concurrent[F], L: Local[F, Vault]): Catch[F]

    Implements Catch via the cancellation of an effect F.

    Implements Catch via the cancellation of an effect F.

    Note that when an instance of Catch has been constructed like this, invoking any method on Handle inside an uncancelable block is considered an error.

    Using cancellation to raise errors has some advantages and disadvantages.

    Catch, unlike cats.data.EitherT, does not have potentially dangerous semantics regarding resource safety (EitherT's left case when releasing resources). For reference the default implementation of cats.effect.MonadCancel's guarenteeCase will not invoke the finalizer when you use cats.data.EitherT and the effect is in the Left case.

  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def ioCatch: IO[Catch[IO]]
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. def kleisli[F[_]](implicit arg0: Concurrent[F]): Catch[[γ$4$]Kleisli[F, Vault, γ$4$]]
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  22. def toString(): String
    Definition Classes
    AnyRef → Any
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped