hsdev-0.3.3.1: Haskell development library

Safe HaskellNone
LanguageHaskell98

HsDev.Error

Synopsis

Documentation

hsdevOtherError :: (Exception e, MonadThrow m) => e -> m a Source #

Throw as OtherError

hsdevLift :: MonadThrow m => ExceptT String m a -> m a Source #

Throw as OtherError

hsdevLiftWith :: MonadThrow m => (String -> HsDevError) -> ExceptT String m a -> m a Source #

Throw as some HsDevError

hsdevLiftIO :: MonadCatch m => m a -> m a Source #

Rethrow IO exceptions as HsDevError

hsdevLiftIOWith :: MonadCatch m => (String -> HsDevError) -> m a -> m a Source #

Rethrow IO exceptions

hsdevIgnore :: MonadCatch m => a -> m a -> m a Source #

Ignore hsdev exception

hsdevHandle :: MonadCatch m => (HsDevError -> m a) -> m a -> m a Source #

Handle hsdev exception