Exceptions¶
Exceptions raised by jsonrpcserver.
-
exception
ParseError
(data=None)¶ Raised when the request is not a valid JSON object.
-
code
= -32700¶
-
message
= 'Parse error'¶
-
http_status
= 400¶
-
-
exception
InvalidRequest
(data=None)¶ Raised when the request is not a valid JSON-RPC object.
Parameters: data – Extra information about the error that occurred (optional). -
code
= -32600¶
-
message
= 'Invalid Request'¶
-
http_status
= 400¶
-
-
exception
MethodNotFound
(data=None)¶ Raised when the method does not exist/is not available.
Parameters: data – Extra information about the error that occurred (optional). -
code
= -32601¶
-
message
= 'Method not found'¶
-
http_status
= 404¶
-