| Safe Haskell | Safe |
|---|---|
| Language | Haskell2010 |
Exceptions
Description
Re-exports most useful functionality from 'safe-exceptions'. Also
provides some functions to work with exceptions over MonadError.
- module Control.Exception.Safe
- note :: MonadError e m => e -> Maybe a -> m a
Documentation
module Control.Exception.Safe
note :: MonadError e m => e -> Maybe a -> m a Source #
Throws error for Maybe if Nothing is given.
Operates over MonadError.