Distribution.Compat.Exception
catchIO :: IO a -> (IOException -> IO a) -> IO a Source #
Catch IOException.
IOException
catchExit :: IO a -> (ExitCode -> IO a) -> IO a Source #
Catch ExitCode
ExitCode
tryIO :: IO a -> IO (Either IOException a) Source #
Try IOException.
displayException :: Exception e => e -> String #