Cabal-syntax-3.10.2.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 #

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

Catch ExitCode

displayException :: Exception e => e -> String Source #

Render this exception value in a human-friendly manner.

Default implementation: show.

Since: base-4.8.0.0