Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
data ErrorIO (m :: * -> *) a where Source #
An effect for throwing and catching IO
-based exceptions.
ThrowIO :: Exception e => e -> ErrorIO m a | |
CatchIO :: Exception e => m a -> (e -> m a) -> ErrorIO m a |
Instances
(MonadThrow m, Eff (Optional ((->) SomeException :: Type -> Type)) m) => Handler ErrorIOFinalH ErrorIO m Source # | |
Defined in Control.Effect.Internal.ErrorIO effHandler :: EffHandler ErrorIO m Source # |