Hoogle Search
Within LTS Haskell 24.3 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
resourcet Control.Monad.Trans.Resource.Internal No documentation available.
rceFirstCleanupException :: ResourceCleanupException -> !SomeExceptionresourcet Control.Monad.Trans.Resource.Internal The first cleanup exception. We keep this separate from rceOtherCleanupExceptions to prove that there's at least one (i.e., a non-empty list).
rceOriginalException :: ResourceCleanupException -> !Maybe SomeExceptionresourcet Control.Monad.Trans.Resource.Internal If the ResourceT block exited due to an exception, this is that exception.
rceOtherCleanupExceptions :: ResourceCleanupException -> ![SomeException]resourcet Control.Monad.Trans.Resource.Internal All other exceptions in cleanups.
showException :: Show e => e -> IO Stringextra Control.Exception.Extra Show a value, but if the result contains exceptions, produce <Exception>. Defined as stringException . show. Particularly useful for printing exceptions to users, remembering that exceptions can themselves contain undefined values.
stringException :: String -> IO Stringextra Control.Exception.Extra Fully evaluate an input String. If the String contains embedded exceptions it will produce <Exception>.
stringException "test" == pure "test" stringException ("test" ++ undefined) == pure "test<Exception>" stringException ("test" ++ undefined ++ "hello") == pure "test<Exception>" stringException ['t','e','s','t',undefined] == pure "test<Exception>"
-
safe-exceptions Control.Exception.Safe Wrap up a synchronous exception to be treated as an asynchronous exception This is intended to be created via toAsyncException
AsyncExceptionWrapper :: e -> AsyncExceptionWrappersafe-exceptions Control.Exception.Safe No documentation available.
-
safe-exceptions Control.Exception.Safe Exceptions that occur in the IO monad. An IOException records a more specific error type, a descriptive string and maybe the handle that was used when the error was flagged.
-
safe-exceptions Control.Exception.Safe Superclass for asynchronous exceptions.