Hoogle Search
Within LTS Haskell 24.46 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
onException :: MonadException m => m a -> m b -> m aexception-transformers Control.Monad.Exception If an exception is raised by the computation, then perform a final action and re-raise the exception.
runExceptionT :: ExceptionT (m :: Type -> Type) a -> m (Either SomeException a)exception-transformers Control.Monad.Exception No documentation available.
toException :: Exception e => e -> SomeExceptionexception-transformers Control.Monad.Exception toException should produce a SomeException with no attached ExceptionContext.
-
SafeSemaphore Control.Concurrent.FairRWLock Exception type thrown or returned by this module. "Impossible" conditions get the error thrown and usage problems get the error returned.
RWLockException :: ThreadId -> RWLockExceptionKind -> String -> RWLockExceptionSafeSemaphore Control.Concurrent.FairRWLock No documentation available.
-
SafeSemaphore Control.Concurrent.FairRWLock Operation in which error arose,
-
scheduler Control.Scheduler Exception that gets thrown whenever concurrent access is attempted to the WorkerStates
MutexException :: MutexExceptionscheduler Control.Scheduler No documentation available.
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.