monix.types.MonadError

Instance

trait Instance[F[_], E] extends MonadError[F, E] with Type[F, E] with Monad.Instance[F]

The MonadError.Instance provides the means to combine MonadError instances with other type-classes.

To be inherited by MonadError instances.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Instance
  2. Instance
  3. Instance
  4. Instance
  5. Functor
  6. Applicative
  7. Monad
  8. Type
  9. MonadError
  10. Type
  11. Type
  12. Type
  13. Serializable
  14. Serializable
  15. AnyRef
  16. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

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

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

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

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

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

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

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

    Definition Classes
    MonadError
  6. abstract def onErrorHandleWith[A](fa: F[A])(f: (E) ⇒ F[A]): F[A]

    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
    MonadError
  7. abstract def onErrorRecover[A](fa: F[A])(pf: PartialFunction[E, A]): F[A]

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

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

    Definition Classes
    MonadError
  8. abstract def onErrorRecoverWith[A](fa: F[A])(pf: PartialFunction[E, F[A]]): F[A]

    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
    MonadError
  9. abstract def pure[A](a: A): F[A]

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

    Lift an error into the F context.

    Lift an error into the F context.

    Definition Classes
    MonadError

Concrete 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 applicative: Applicative[F]

    Definition Classes
    InstanceType
  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def attempt[A](fa: F[A]): F[Either[E, A]]

    Handle errors by exposing them into Either values.

    Handle errors by exposing them into Either values.

    Returns Right(value) for successful values or Left(error) in case a failure happened.

    Definition Classes
    MonadError
  9. def clone(): AnyRef

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

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. def flatten[A](ffa: F[F[A]]): F[A]

    Definition Classes
    Monad
  14. implicit final def functor: Functor[F]

    Definition Classes
    InstanceType
  15. final def getClass(): Class[_]

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

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

    Definition Classes
    Any
  18. final def monad: Monad[F]

    Definition Classes
    InstanceType
  19. final def monadError: MonadError[F, E]

    Definition Classes
    InstanceType
  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. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  24. def toString(): String

    Definition Classes
    AnyRef → Any
  25. def unit: F[Unit]

    Definition Classes
    Applicative
  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 Monad.Instance[F]

Inherited from Applicative.Instance[F]

Inherited from Functor.Instance[F]

Inherited from Functor[F]

Inherited from Applicative[F]

Inherited from Monad[F]

Inherited from Type[F, E]

Inherited from MonadError[F, E]

Inherited from Monad.Type[F]

Inherited from Applicative.Type[F]

Inherited from Functor.Type[F]

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped