Add commenting around JSON error codes
commit338bf065a454fee76d9dfa9c7a36161cac72309f
authorJohn Newbery <john@johnnewbery.com>
Fri, 24 Feb 2017 16:23:38 +0000 (24 11:23 -0500)
committerJohn Newbery <john@johnnewbery.com>
Wed, 8 Mar 2017 19:22:55 +0000 (8 14:22 -0500)
treeec60155b6fd8c7fc92010e01b7419c8159cc36cf
parentdab804c18a427901684ebe936b2069a97e04a268
Add commenting around JSON error codes

RPC_INVALID_REQUEST and RPC_METHOD_NOT_FOUND are mapped internally to
HTTP error codes and should not be used for application-layer errors.
This commit adds commenting around those definitions to warn not to use
them for application errors.
src/rpc/protocol.h