Cabal-syntax-3.11.0.0: A library for working with .cabal files
Safe HaskellSafe-Inferred
LanguageHaskell2010

Distribution.Compat.Exception

Synopsis

Documentation

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

Catch IOException.

catchExit :: IO a -> (ExitCode -> IO a) -> IO a Source #

Catch ExitCode

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

Try IOException.