Packages

c

cats.syntax

MonadErrorOps

final class MonadErrorOps[F[_], E, A] extends AnyVal

Source
monadError.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MonadErrorOps
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MonadErrorOps(fa: F[A])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##(): Int
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  4. def adaptError(pf: PartialFunction[E, E])(implicit F: MonadError[F, E]): F[A]
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def ensure(error: ⇒ E)(predicate: (A) ⇒ Boolean)(implicit F: MonadError[F, E]): F[A]
  7. def ensureOr(error: (A) ⇒ E)(predicate: (A) ⇒ Boolean)(implicit F: MonadError[F, E]): F[A]
  8. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  9. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  10. def reject(pf: PartialFunction[A, E])(implicit F: MonadError[F, E]): F[A]

    Turns a successful value into the error returned by a given partial function if it is in the partial function's domain.

  11. def toString(): String
    Definition Classes
    Any

Inherited from AnyVal

Inherited from Any

Ungrouped