diff options
author | John Newbery <john@johnnewbery.com> | 2017-02-24 11:23:38 -0500 |
---|---|---|
committer | John Newbery <john@johnnewbery.com> | 2017-03-08 14:22:55 -0500 |
commit | 338bf065a454fee76d9dfa9c7a36161cac72309f (patch) | |
tree | ec60155b6fd8c7fc92010e01b7419c8159cc36cf /src/rpc/net.cpp | |
parent | dab804c18a427901684ebe936b2069a97e04a268 (diff) |
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.
Diffstat (limited to 'src/rpc/net.cpp')
0 files changed, 0 insertions, 0 deletions