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.
isSyncException :: Exception e => e -> Boolsafe-exceptions Control.Exception.Safe Check if the given exception is synchronous
onException :: (HasCallStack, MonadMask m) => m a -> m b -> m asafe-exceptions Control.Exception.Safe Async safe version of onException
toAsyncException :: Exception e => e -> SomeExceptionsafe-exceptions Control.Exception.Safe Convert an exception into an asynchronous exception For asynchronous exceptions, this is the same as toException. For synchronous exceptions, this will wrap up the exception with AsyncExceptionWrapper
toException :: Exception e => e -> SomeExceptionsafe-exceptions Control.Exception.Safe toException should produce a SomeException with no attached ExceptionContext.
toSyncException :: Exception e => e -> SomeExceptionsafe-exceptions Control.Exception.Safe Convert an exception into a synchronous exception For synchronous exceptions, this is the same as toException. For asynchronous exceptions, this will wrap up the exception with SyncExceptionWrapper
withException :: (HasCallStack, MonadMask m, Exception e) => m a -> (e -> m b) -> m asafe-exceptions Control.Exception.Safe Like onException, but provides the handler the thrown exception.
-
lifted-base Control.Exception.Lifted Arithmetic exceptions.
-
lifted-base Control.Exception.Lifted Exceptions generated by array operations
-
lifted-base Control.Exception.Lifted Asynchronous exceptions.
-
lifted-base Control.Exception.Lifted 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.