purebred-0.1.0.0: An mail user agent built around notmuch

Safe HaskellNone
LanguageHaskell2010

Purebred.System

Synopsis

Documentation

tryIO :: (MonadError Error m, MonadIO m) => IO a -> m a Source #

Try a computation but return a Purebred error in the exception case

exceptionToError :: IOException -> Error Source #