Hoogle Search
Within LTS Haskell 24.2 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
base Control.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.
SomeException :: e -> SomeExceptionbase Control.Exception No documentation available.
addExceptionContext :: ExceptionAnnotation a => a -> SomeException -> SomeExceptionbase Control.Exception Add more ExceptionContext to a SomeException.
asyncExceptionFromException :: Exception e => SomeException -> Maybe ebase Control.Exception No documentation available.
asyncExceptionToException :: Exception e => e -> SomeExceptionbase Control.Exception No documentation available.
displayException :: Exception e => e -> Stringbase Control.Exception Render this exception value in a human-friendly manner. Default implementation: show.
fromException :: Exception e => SomeException -> Maybe ebase Control.Exception No documentation available.
mapException :: (Exception e1, Exception e2) => (e1 -> e2) -> a -> abase Control.Exception This function maps one exception into another as proposed in the paper "A semantics for imprecise exceptions".
onException :: IO a -> IO b -> IO abase Control.Exception Like finally, but only performs the final action if there was an exception raised by the computation.
someExceptionContext :: SomeException -> ExceptionContextbase Control.Exception View the ExceptionContext of a SomeException.