GHC.Utils.Exception

ghc-9.2.0.20210422: The GHC API

Safe Haskell | Safe-Inferred
Language | Haskell2010

GHC.Utils.Exception

# Documentation

module Control.Exception

catchIO :: IO a -> (IOException -> IO a) -> IO a Source #

handleIO :: (IOException -> IO a) -> IO a -> IO a Source #

tryIO :: IO a -> IO (Either IOException a) Source #

type ExceptionMonad m = (MonadCatch m, MonadThrow m, MonadMask m, MonadIO m) Source #