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.

  1. ResourceCleanupException :: !Maybe SomeException -> SomeException -> [SomeException] -> ResourceCleanupException

    resourcet Control.Monad.Trans.Resource.Internal

    No documentation available.

  2. rceFirstCleanupException :: ResourceCleanupException -> !SomeException

    resourcet 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).

  3. rceOriginalException :: ResourceCleanupException -> !Maybe SomeException

    resourcet Control.Monad.Trans.Resource.Internal

    If the ResourceT block exited due to an exception, this is that exception.

  4. rceOtherCleanupExceptions :: ResourceCleanupException -> ![SomeException]

    resourcet Control.Monad.Trans.Resource.Internal

    All other exceptions in cleanups.

  5. showException :: Show e => e -> IO String

    extra 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.

  6. stringException :: String -> IO String

    extra 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>"
    

  7. data AsyncExceptionWrapper

    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

  8. AsyncExceptionWrapper :: e -> AsyncExceptionWrapper

    safe-exceptions Control.Exception.Safe

    No documentation available.

  9. data IOException

    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.

  10. data SomeAsyncException

    safe-exceptions Control.Exception.Safe

    Superclass for asynchronous exceptions.

Page 15 of many | Previous | Next