trait Errors[F[_], E] extends Raise[F, E] with Handle[F, E] with ErrorsTo[F, F, E]

Allows to throw and handle errors of type ${E} in a ${F}.

Annotations
@implicitNotFound()
Linear Supertypes
ErrorsTo[F, F, E], Handle[F, E], Restore[F], HandleTo[F, F, E], RestoreTo[F, F], Lift[F, F], Raise[F, E], ContravariantRaise[F, E], ErrorBase, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Errors
  2. ErrorsTo
  3. Handle
  4. Restore
  5. HandleTo
  6. RestoreTo
  7. Lift
  8. Raise
  9. ContravariantRaise
  10. ErrorBase
  11. AnyRef
  12. 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 raise[A](err: E): F[A]
    Definition Classes
    RaiseContravariantRaise
  3. abstract def restore[A](fa: F[A]): F[Option[A]]
    Definition Classes
    RestoreTo
  4. abstract def tryHandleWith[A](fa: F[A])(f: (E) => Option[F[A]]): F[A]
    Definition Classes
    Handle

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

Inherited from Handle[F, E]

Inherited from Restore[F]

Inherited from HandleTo[F, F, E]

Inherited from RestoreTo[F, F]

Inherited from Lift[F, F]

Inherited from Raise[F, E]

Inherited from ContravariantRaise[F, E]

Inherited from ErrorBase

Inherited from AnyRef

Inherited from Any

Ungrouped