Hoogle Search
Within LTS Haskell 24.28 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
mapException :: (Exception e1, Exception e2) => (e1 -> e2) -> a -> aghc-internal GHC.Internal.Control.Exception.Base This function maps one exception into another as proposed in the paper "A semantics for imprecise exceptions".
onException :: IO a -> IO b -> IO aghc-internal GHC.Internal.Control.Exception.Base Like finally, but only performs the final action if there was an exception raised by the computation.
toException :: Exception e => e -> SomeExceptionghc-internal GHC.Internal.Control.Exception.Base toException should produce a SomeException with no attached ExceptionContext.
class (MonadIO m, MonadException m) =>
MonadAsyncException (m :: Type -> Type)exception-transformers Control.Monad.Exception No documentation available.
class Monad m =>
MonadException (m :: Type -> Type)exception-transformers Control.Monad.Exception No documentation available.
-
exception-transformers Control.Monad.Exception The SomeException type is the root of the exception type hierarchy. When an exception of type e is thrown, behind the scenes it is encapsulated in a SomeException.
displayException :: Exception e => e -> Stringexception-transformers Control.Monad.Exception Render this exception value in a human-friendly manner. Default implementation: show.
fromException :: Exception e => SomeException -> Maybe eexception-transformers Control.Monad.Exception No documentation available.
liftException :: MonadException m => Either SomeException a -> m aexception-transformers Control.Monad.Exception Lift the result of running a computation in a monad transformed by ExceptionT into another monad that supports exceptions.
-
exception-transformers Control.Monad.Exception No documentation available.