monix.types

Recoverable

trait Recoverable[F[_], E] extends Applicative[F]

A type-class for monadic contexts that can trigger E errors and that are recoverable.

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Recoverable
  2. Applicative
  3. Functor
  4. AnyRef
  5. 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](fa: F[A])(ff: F[(A) ⇒ B]): F[B]

    Definition Classes
    Applicative
  2. abstract def failed[A](fa: F[A]): F[E]

    Turns the monadic context into one that exposes any errors that might have happened.

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

    Definition Classes
    Functor
  4. abstract def onErrorFallbackTo[A](fa: F[A], other: F[A]): F[A]

    Mirrors the source, but if an error happens, then fallback to other.

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

    Mirrors the source, but in case an error happens then use the given total function to fallback to a given element for certain errors.

    Mirrors the source, but in case an error happens then use the given total function to fallback to a given element for certain errors.

    See onErrorRecover for the alternative accepting a partial function.

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

    Mirrors the source, until the source throws an error, after which it tries to fallback to the output of the given total function.

    Mirrors the source, until the source throws an error, after which it tries to fallback to the output of the given total function.

    See onErrorRecoverWith for the alternative accepting a partial function.

  7. abstract def onErrorRecover[A](fa: F[A])(pf: PartialFunction[E, A]): F[A]

    Mirrors the source, but in case an error happens then use the given partial function to fallback to a given element for certain errors.

    Mirrors the source, but in case an error happens then use the given partial function to fallback to a given element for certain errors.

    See onErrorHandle for the alternative accepting a total function.

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

    Mirrors the source, until the source throws an error, after which it tries to fallback to the output of the given partial function.

    Mirrors the source, until the source throws an error, after which it tries to fallback to the output of the given partial function.

    See onErrorHandleWith for the alternative accepting a total function.

  9. abstract def pure[A](a: A): F[A]

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

    Lifts an error into context.

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 asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

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

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

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

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

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

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

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

    Definition Classes
    AnyRef
  15. final def notify(): Unit

    Definition Classes
    AnyRef
  16. final def notifyAll(): Unit

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

    Definition Classes
    AnyRef
  18. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Applicative[F]

Inherited from Functor[F]

Inherited from AnyRef

Inherited from Any

Ungrouped