Clarify language in error section

51 views
Skip to first unread message

Brad Jones

unread,
Jun 24, 2023, 8:41:53 AM6/24/23
to JSON-RPC
Section 5.1 regarding error objects states,

"The remainder of the space is available for application defined errors."

I am working with the Drupal implementation <https://www.drupal.org/project/jsonrpc/issues/3283740> and updating the internal validation of error codes. I am wanting to communicate a client error (rate limiting) and that would fall outside of the scope of the predefined codes, and I _think_ I can pick any integer. However the above language is confusing as to the meaning of "the space." I think this means the set of all integers, but it is confusing as written.

Brad
Reply all
Reply to author
Forward
0 new messages