python-jsonrpc icon indicating copy to clipboard operation
python-jsonrpc copied to clipboard

Spec incompliance: the truth of the error object should not depend on…

Open kc284 opened this issue 8 years ago • 1 comments

… the code being non 0.

According to the JSON_RPC v2.0 specs (http://www.jsonrpc.org/specification), the error response should contain an 'error' object which has at least 'code' and 'message' objects, hence the truth of the error object should depend on their existence. Although not an optimum selection, 0 is not disallowed as error code.

Signed-off-by: Konstantina Chremmou [email protected]

kc284 avatar Dec 13 '17 16:12 kc284

@gerold-penz have you seen this PR?

kc284 avatar Oct 01 '19 07:10 kc284