Hoogle Search

Within LTS Haskell 24.6 (ghc-9.10.2)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. displayException :: Exception e => e -> String

    monad-peel Control.Exception.Peel

    Render this exception value in a human-friendly manner. Default implementation: show.

  2. fromException :: Exception e => SomeException -> Maybe e

    monad-peel Control.Exception.Peel

    No documentation available.

  3. mapException :: (Exception e1, Exception e2) => (e1 -> e2) -> a -> a

    monad-peel Control.Exception.Peel

    This function maps one exception into another as proposed in the paper "A semantics for imprecise exceptions".

  4. onException :: MonadPeelIO m => m a -> m b -> m a

    monad-peel Control.Exception.Peel

    Generalized version of onException.

  5. someExceptionContext :: SomeException -> ExceptionContext

    monad-peel Control.Exception.Peel

    View the ExceptionContext of a SomeException.

  6. toException :: Exception e => e -> SomeException

    monad-peel Control.Exception.Peel

    toException should produce a SomeException with no attached ExceptionContext.

  7. readChanOnException :: OutChan a -> (IO a -> IO ()) -> IO a

    unagi-chan Control.Concurrent.Chan.Unagi

    Like readChan but allows recovery of the queue element which would have been read, in the case that an async exception is raised during the read. To be precise exceptions are raised, and the handler run, only when readChanOnException is blocking. The second argument is a handler that takes a blocking IO action returning the element, and performs some recovery action. When the handler is called, the passed IO a is the only way to access the element.

  8. readChanOnException :: OutChan a -> (IO a -> IO ()) -> IO a

    unagi-chan Control.Concurrent.Chan.Unagi.Bounded

    Like readChan but allows recovery of the queue element which would have been read, in the case that an async exception is raised during the read. To be precise exceptions are raised, and the handler run, only when readChanOnException is blocking. The second argument is a handler that takes a blocking IO action returning the element, and performs some recovery action. When the handler is called, the passed IO a is the only way to access the element.

  9. readChanOnException :: UnagiPrim a => OutChan a -> (IO a -> IO ()) -> IO a

    unagi-chan Control.Concurrent.Chan.Unagi.Unboxed

    Like readChan but allows recovery of the queue element which would have been read, in the case that an async exception is raised during the read. To be precise exceptions are raised, and the handler run, only when readChanOnException is blocking. The second argument is a handler that takes a blocking IO action returning the element, and performs some recovery action. When the handler is called, the passed IO a is the only way to access the element.

  10. module Control.Exception.ChainedException

    Exception that keeps the stack of error locations.

Page 34 of many | Previous | Next