Cabal-2.0.0.2: A framework for packaging Haskell software
Distribution.Compat.Exception
Synopsis
catchIO :: IO a -> (IOException -> IO a) -> IO a Source #
catchExit :: IO a -> (ExitCode -> IO a) -> IO a Source #
tryIO :: IO a -> IO (Either IOException a) Source #
displayException :: Exception e => e -> String Source #
Render this exception value in a human-friendly manner.
Default implementation: show.
show
Since: 4.8.0.0