python-jsonrpc
python-jsonrpc copied to clipboard
Spec incompliance: the truth of the error object should not depend on…
… 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]
@gerold-penz have you seen this PR?