|
| Control.Monad.CatchIO.Old |
|
|
|
| Synopsis |
|
| class MonadIO m => MonadCatchIO m where | | | | Exception (ArithException, ArrayException, AssertionFailed, AsyncException, BlockedOnDeadMVar, BlockedIndefinitely, NestedAtomically, Deadlock, DynException, ErrorCall, ExitException, IOException, NoMethodError, NonTermination, PatternMatchFail, RecConError, RecSelError, RecUpdError) | | | throw :: MonadCatchIO m => Exception -> m a | | | throwDyn :: Typeable e => e -> b | | | catchDyn :: (Typeable e, MonadCatchIO m) => m a -> (e -> m a) -> m a | | | try :: MonadCatchIO m => m a -> m (Either Exception a) | | | tryJust :: MonadCatchIO m => (Exception -> Maybe b) -> m a -> m (Either b a) |
|
|
| Documentation |
|
|
| | Methods | | | Generalized version of catch
| | | | Generalized version of block
| | | | Generalized version of unblock
|
| | Instances | |
|
|
| Exception (ArithException, ArrayException, AssertionFailed, AsyncException, BlockedOnDeadMVar, BlockedIndefinitely, NestedAtomically, Deadlock, DynException, ErrorCall, ExitException, IOException, NoMethodError, NonTermination, PatternMatchFail, RecConError, RecSelError, RecUpdError) |
|
|
| Generalized version of throwIO
|
|
|
|
|
|
|
| Generalized version of try
|
|
|
| Generalized version of tryJust
|
|
| Produced by Haddock version 2.4.2 |