ExceptT

A monad transformer that adds exceptions to other monads. ExceptT constructs a monad parameterized over two things:
  • e - The exception type.
  • m - The inner monad.
The return function yields a computation that produces the given value, while >>= sequences two subcomputations, exiting on the first exception.
A monad transformer that adds exceptions to other monads. ExceptT constructs a strict monad parameterized over two things:
  • e - An arbitrary exception type.
  • m - The inner monad.
The monadic computations are a plain values. They are unrelated to the Control.Exception mechanism, which is tied to the IO monad. The return function yields a computation that produces the given value, while >>= sequences two subcomputations, exiting on the first exception.
A monad transformer that adds exceptions to other monads. ExceptT constructs a monad parameterized over two things:
  • e - The exception type.
  • m - The inner monad.
The return function yields a computation that produces the given value, while >>= sequences two subcomputations, exiting on the first exception.
A monad transformer that adds exceptions to other monads. ExceptT constructs a monad parameterized over two things:
  • e - The exception type.
  • m - The inner monad.
The return function yields a computation that produces the given value, while >>= sequences two subcomputations, exiting on the first exception.
A newtype wrapper around ExceptT from transformers that provides less restrictive Applicative, Selective and Alternative instances.
Fold an ExceptT by providing one continuation for each constructor
Convert a ExceptT computation to MaybeT, discarding the value of any exception.
Convert a ExceptT computation to MaybeT, discarding the value of any exception.
Convert exceptions into Nothing, discarding the exception value.
Convert exceptions into Nothing, discarding the exception value.
Convert an ExceptT to an EnvelopeT.
Map the unwrapped computation using the given function.
The inverse of ExceptT.
Transform any exceptions thrown by the computation using the given function.
Transform any exceptions thrown by the computation using the given function.