diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2019-09-02 07:28:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-02 07:28:18 +0200 |
commit | 7e908c957b2a88c16c6345a3b92d76195d50cf9c (patch) | |
tree | 7d6e88a551f585323596482449705fe4286fe33b /modules/jsonrpc/jsonrpc.h | |
parent | 8b15ac770c8b4955c1872a253980c9792800374b (diff) | |
parent | 7e01986ce1341016f91d3dcaf62ab51c989b3d1f (diff) | |
download | redot-engine-7e908c957b2a88c16c6345a3b92d76195d50cf9c.tar.gz |
Merge pull request #31875 from Calinou/jsonrpc-uppercase-constants
Make JSONRPC constants uppercase for consistency with other classes
Diffstat (limited to 'modules/jsonrpc/jsonrpc.h')
-rw-r--r-- | modules/jsonrpc/jsonrpc.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/jsonrpc/jsonrpc.h b/modules/jsonrpc/jsonrpc.h index bcb34ecc65..91897d0b55 100644 --- a/modules/jsonrpc/jsonrpc.h +++ b/modules/jsonrpc/jsonrpc.h @@ -47,11 +47,11 @@ public: ~JSONRPC(); enum ErrorCode { - ParseError = -32700, - InvalidRequest = -32600, - MethodNotFound = -32601, - InvalidParams = -32602, - InternalError = -32603, + PARSE_ERROR = -32700, + INVALID_REQUEST = -32600, + METHOD_NOT_FOUND = -32601, + INVALID_PARAMS = -32602, + INTERNAL_ERROR = -32603, }; Dictionary make_response_error(int p_code, const String &p_message, const Variant &p_id = Variant()) const; |