Safe Haskell | None |
---|---|
Language | Haskell98 |
- hsdevError :: MonadThrow m => HsDevError -> m a
- hsdevOtherError :: (Exception e, MonadThrow m) => e -> m a
- hsdevLift :: MonadThrow m => ExceptT String m a -> m a
- hsdevLiftWith :: MonadThrow m => (String -> HsDevError) -> ExceptT String m a -> m a
- hsdevCatch :: MonadCatch m => m a -> m (Either HsDevError a)
- hsdevLiftIO :: MonadCatch m => m a -> m a
- hsdevLiftIOWith :: MonadCatch m => (String -> HsDevError) -> m a -> m a
- hsdevIgnore :: MonadCatch m => a -> m a -> m a
- hsdevHandle :: MonadCatch m => (HsDevError -> m a) -> m a -> m a
- module HsDev.Types
Documentation
hsdevError :: MonadThrow m => HsDevError -> m a Source #
Throw HsDevError
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
hsdevCatch :: MonadCatch m => m a -> m (Either HsDevError a) Source #
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
module HsDev.Types