effects-0.2.3: Computational Effects

Safe HaskellSafe
LanguageHaskell98

Control.Effects.Error

Documentation

throwError :: AutoLift ((e -> m r) -> m r) m n => Effect ((e -> m r) -> m r) m -> e -> n Void Source #

catchError :: Monad m => (e -> m a) -> Handler ((e -> m a) -> m a) a m a Source #