trait Handle[F[_], E] extends HandleTo[F, F, E] with Restore[F]

Allows to recover after an error of type ${E} in a ${F}.

Annotations
@implicitNotFound()
Linear Supertypes
Restore[F], HandleTo[F, F, E], RestoreTo[F, F], ErrorBase, Lift[F, F], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Handle
  2. Restore
  3. HandleTo
  4. RestoreTo
  5. ErrorBase
  6. Lift
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def lift[A](fa: F[A]): F[A]
    Definition Classes
    Lift
  2. abstract def restore[A](fa: F[A]): F[Option[A]]
    Definition Classes
    RestoreTo
  3. abstract def tryHandleWith[A](fa: F[A])(f: (E) => Option[F[A]]): F[A]

Concrete 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 attempt[A](fa: F[A])(implicit F: Functor[F], G: Applicative[F]): F[Either[E, A]]
    Definition Classes
    HandleTo
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  10. def handle[A](fa: F[A])(f: (E) => A)(implicit G: Applicative[F]): F[A]
    Definition Classes
    HandleTo
  11. def handleWith[A](fa: F[A])(f: (E) => F[A]): F[A]
    Definition Classes
    HandleHandleTo
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. def liftF: FunctionK[F, F]
    Definition Classes
    Lift
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  18. def recover[A](fa: F[A])(pf: PartialFunction[E, A])(implicit F: Applicative[F]): F[A]
  19. def recoverWith[A](fa: F[A])(pf: PartialFunction[E, F[A]]): F[A]
  20. def restoreWith[A](fa: F[A])(ra: => F[A]): F[A]
    Definition Classes
    HandleRestore
  21. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  22. def toString(): String
    Definition Classes
    AnyRef → Any
  23. def tryHandle[A](fa: F[A])(f: (E) => Option[A])(implicit F: Applicative[F]): F[A]
  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()
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

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

Inherited from Restore[F]

Inherited from HandleTo[F, F, E]

Inherited from RestoreTo[F, F]

Inherited from ErrorBase

Inherited from Lift[F, F]

Inherited from AnyRef

Inherited from Any

Ungrouped