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.
displayException :: Exception e => e -> Stringmonad-peel Control.Exception.Peel Render this exception value in a human-friendly manner. Default implementation: show.
fromException :: Exception e => SomeException -> Maybe emonad-peel Control.Exception.Peel No documentation available.
mapException :: (Exception e1, Exception e2) => (e1 -> e2) -> a -> amonad-peel Control.Exception.Peel This function maps one exception into another as proposed in the paper "A semantics for imprecise exceptions".
onException :: MonadPeelIO m => m a -> m b -> m amonad-peel Control.Exception.Peel Generalized version of onException.
someExceptionContext :: SomeException -> ExceptionContextmonad-peel Control.Exception.Peel View the ExceptionContext of a SomeException.
toException :: Exception e => e -> SomeExceptionmonad-peel Control.Exception.Peel toException should produce a SomeException with no attached ExceptionContext.
readChanOnException :: OutChan a -> (IO a -> IO ()) -> IO aunagi-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.
readChanOnException :: OutChan a -> (IO a -> IO ()) -> IO aunagi-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.
readChanOnException :: UnagiPrim a => OutChan a -> (IO a -> IO ()) -> IO aunagi-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.
module Control.Exception.
ChainedException Exception that keeps the stack of error locations.