Trait

scalaz.effect

MonadCatchIOFunctions

Related Doc: package effect

Permalink

sealed trait MonadCatchIOFunctions extends AnyRef

Source
MonadCatchIO.scala
Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MonadCatchIOFunctions
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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. implicit def KleisliMonadCatchIO[F[_], R](implicit F: MonadCatchIO[F]): MonadCatchIO[[α]Kleisli[F, R, α]]

    Permalink
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def bracket[M[_], A, B, C](before: M[A])(after: (A) ⇒ M[B])(during: (A) ⇒ M[C])(implicit arg0: MonadCatchIO[M]): M[C]

    Permalink
  7. def bracketOnError[M[_], A, B, C](before: M[A])(after: (A) ⇒ M[B])(during: (A) ⇒ M[C])(implicit arg0: MonadCatchIO[M]): M[C]

    Permalink

    A variant of "bracket" that performs the final action only if there was an error.

  8. def bracket_[M[_], A, B, C](before: M[A])(after: M[B])(during: M[C])(implicit arg0: MonadCatchIO[M]): M[C]

    Permalink

    A variant of "bracket" where the return value of this computation is not needed.

  9. def catchLeft[M[_], A](ma: M[A])(implicit arg0: MonadCatchIO[M]): M[\/[Throwable, A]]

    Permalink

    Returns a disjunction result which is right if no exception was raised, or left if an exception was raised.

  10. def catchSome[M[_], A, B](ma: M[A])(p: (Throwable) ⇒ Option[B], handler: (B) ⇒ M[A])(implicit arg0: MonadCatchIO[M]): M[A]

    Permalink

    Executes the handler for exceptions that are raised and match the given predicate.

    Executes the handler for exceptions that are raised and match the given predicate. Other exceptions are rethrown.

  11. def catchSomeLeft[M[_], A, B](ma: M[A])(p: (Throwable) ⇒ Option[B])(implicit arg0: MonadCatchIO[M]): M[\/[B, A]]

    Permalink

    Like "catchLeft" but takes a predicate to select which exceptions are caught.

  12. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  13. def ensuring[M[_], A, B](ma: M[A], sequel: M[B])(implicit arg0: MonadCatchIO[M]): M[A]

    Permalink

    Like "bracket", but takes only a computation to run afterward.

    Like "bracket", but takes only a computation to run afterward. Generalizes "finally".

  14. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  16. def except[M[_], A](ma: M[A])(handler: (Throwable) ⇒ M[A])(implicit M: MonadCatchIO[M]): M[A]

    Permalink
  17. def finalize(): Unit

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  24. def onException[M[_], A, B](ma: M[A], action: M[B])(implicit arg0: MonadCatchIO[M]): M[A]

    Permalink

    Like "finally", but only performs the final action if there was an exception.

  25. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  27. def using[M[_], A, B](ma: M[A])(f: (A) ⇒ M[B])(implicit M: MonadCatchIO[M], resource: Resource[A]): M[B]

    Permalink

    An automatic resource management.

  28. final def wait(): Unit

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped