| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Data.JsonRpc.Failure
Documentation
data ErrorStatus Source #
Constructors
| ParseError | |
| InvalidRequest | |
| MethodNotFound | |
| InvalidParams | |
| InternalError | |
| ServerError !Integer | |
| MethodError !Integer |
Instances
toCode :: ErrorStatus -> Integer Source #
serverError :: (Integral a, MonadPlus m) => a -> m ErrorStatus Source #
methodError :: (Integral a, MonadPlus m) => a -> m ErrorStatus Source #
emptyError :: Maybe () Source #