Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Auxiliary functions for the IO monad.
Synopsis
- class CatchIO m where
- catchIO :: m a -> (IOException -> m a) -> m a
- showIOException :: Exception e => e -> String
Documentation
class CatchIO m where Source #
Catch IOException
s.
catchIO :: m a -> (IOException -> m a) -> m a Source #
showIOException :: Exception e => e -> String Source #
Print an IOException
without the call stack.