Hoogle Search
Within LTS Haskell 24.5 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
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.
onException :: MonadException m => m a -> m b -> m aexception-transformers Control.Monad.Exception If an exception is raised by the computation, then perform a final action and re-raise the exception.
runExceptionT :: ExceptionT (m :: Type -> Type) a -> m (Either SomeException a)exception-transformers Control.Monad.Exception No documentation available.