Safe Haskell | None |
---|---|
Language | Haskell2010 |
RON.Error
Documentation
Instances
Eq Error Source # | |
Show Error Source # | |
IsString Error Source # | |
Defined in RON.Error Methods fromString :: String -> Error # | |
Exception Error Source # | |
Defined in RON.Error Methods toException :: Error -> SomeException # fromException :: SomeException -> Maybe Error # displayException :: Error -> String # |
type MonadE = MonadError Error Source #
errorContext :: MonadE m => Text -> m a -> m a Source #
throwErrorString :: (MonadError e m, IsString e) => String -> m a Source #
throwErrorText :: MonadE m => Text -> m a Source #