universum-0.7.0: Custom prelude used in Serokell

Safe HaskellSafe
LanguageHaskell2010

Exceptions

Description

Re-exports most useful functionality from 'safe-exceptions'. Also provides some functions to work with exceptions over MonadError.

Synopsis

Documentation

note :: MonadError e m => e -> Maybe a -> m a Source #

Throws error for Maybe if Nothing is given. Operates over MonadError.