Trait/Object

monix.types

MonadError

Related Docs: object MonadError | package types

Permalink

trait MonadError[F[_], E] extends ApplicativeError[F, E] with Monad[F]

A shim for an MonadError type-class, to be supplied by / translated to libraries such as Cats or Scalaz.

Linear Supertypes
Monad[F], ApplicativeError[F, E], Applicative[F], Functor[F], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MonadError
  2. Monad
  3. ApplicativeError
  4. Applicative
  5. Functor
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def ap[A, B](fa: F[A])(ff: F[(A) ⇒ B]): F[B]

    Permalink
    Definition Classes
    Applicative
  2. abstract def flatMap[A, B](fa: F[A])(f: (A) ⇒ F[B]): F[B]

    Permalink
    Definition Classes
    Monad
  3. abstract def flatten[A](ffa: F[F[A]]): F[A]

    Permalink
    Definition Classes
    Monad
  4. abstract def handleError[A](fa: F[A])(f: (E) ⇒ A): F[A]

    Permalink

    Handle any error, by mapping it to an A value.

    Handle any error, by mapping it to an A value.

    Definition Classes
    ApplicativeError
  5. abstract def handleErrorWith[A](fa: F[A])(f: (E) ⇒ F[A]): F[A]

    Permalink

    Handle any error, potentially recovering from it, by mapping it to an F[A] value.

    Handle any error, potentially recovering from it, by mapping it to an F[A] value.

    Definition Classes
    ApplicativeError
  6. abstract def map[A, B](fa: F[A])(f: (A) ⇒ B): F[B]

    Permalink
    Definition Classes
    Functor
  7. abstract def map2[A, B, Z](fa: F[A], fb: F[B])(f: (A, B) ⇒ Z): F[Z]

    Permalink
    Definition Classes
    Applicative
  8. abstract def pure[A](a: A): F[A]

    Permalink
    Definition Classes
    Applicative
  9. abstract def pureEval[A](a: ⇒ A): F[A]

    Permalink
    Definition Classes
    Applicative
  10. abstract def raiseError[A](e: E): F[A]

    Permalink

    Lift an error into the F context.

    Lift an error into the F context.

    Definition Classes
    ApplicativeError
  11. abstract def recover[A](fa: F[A])(pf: PartialFunction[E, A]): F[A]

    Permalink

    Recover from certain errors by mapping them to an A value.

    Recover from certain errors by mapping them to an A value.

    Definition Classes
    ApplicativeError
  12. abstract def recoverWith[A](fa: F[A])(pf: PartialFunction[E, F[A]]): F[A]

    Permalink

    Recover from certain errors by mapping them to an F[A] value.

    Recover from certain errors by mapping them to an F[A] value.

    Definition Classes
    ApplicativeError

Concrete Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  13. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  14. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  15. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  16. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Monad[F]

Inherited from ApplicativeError[F, E]

Inherited from Applicative[F]

Inherited from Functor[F]

Inherited from AnyRef

Inherited from Any

Ungrouped