Skip to content
This repository has been archived by the owner on Sep 28, 2024. It is now read-only.

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kc284
Copy link

@kc284 kc284 commented Dec 13, 2017

… 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]

… 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
Copy link
Author

kc284 commented Oct 1, 2019

@gerold-penz have you seen this PR?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant