control-monad-exception-0.6: Explicitly typed, checked exceptions with stack traces
Source code
Contents
Index
Control.Monad.Exception.Catch
Description
Defines the (not so useful anymore)
MonadCatch
type class.
Documentation
module
Control.Monad
module
Control.Monad.Exception.Throws
class
(
Monad
m,
Monad
m') =>
MonadCatch
e m m' | e m -> m', e m' -> m
where
Source
Methods
catch
:: m a -> (e -> m' a) -> m' a
Source
catchWithSrcLoc
:: m a -> ([
String
] -> e -> m' a) -> m' a
Source
Instances
Exception
e =>
MonadCatch
e
IO
IO
MonadCatch
e m m' =>
MonadCatch
e (
ListT
m) (
ListT
m')
MonadCatch
e m m' =>
MonadCatch
e (
ListT
m) (
ListT
m')
(
Exception
e,
Monad
m) =>
MonadCatch
e (
EMT
(
Caught
e l) m) (
EMT
l m)
MonadCatch
e m m' =>
MonadCatch
e (
StateT
s m) (
StateT
s m')
(
Monoid
w,
MonadCatch
e m m') =>
MonadCatch
e (
WriterT
w m) (
WriterT
w m')
MonadCatch
e m m' =>
MonadCatch
e (
ReaderT
r m) (
ReaderT
r m')
(
Error
e,
Monad
m) =>
MonadCatch
e (
ErrorT
e m) (
ErrorT
e m)
MonadCatch
e m m' =>
MonadCatch
e (
StateT
s m) (
StateT
s m')
(
Monoid
w,
MonadCatch
e m m') =>
MonadCatch
e (
WriterT
w m) (
WriterT
w m')
MonadCatch
e m m' =>
MonadCatch
e (
ReaderT
r m) (
ReaderT
r m')
(
Error
e,
Monad
m) =>
MonadCatch
e (
ErrorT
e m) (
ErrorT
e m)
(
Monoid
w,
MonadCatch
e m m') =>
MonadCatch
e (
RWST
r w s m) (
RWST
r w s m')
(
Monoid
w,
MonadCatch
e m m') =>
MonadCatch
e (
RWST
r w s m) (
RWST
r w s m')
Exception
(
toException
,
fromException
)
SomeException
(
SomeException
)
Produced by
Haddock
version 2.4.2