summaryrefslogtreecommitdiffstats
path: root/modules/jsonrpc/jsonrpc.h
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2019-09-01 23:48:03 +0200
committerHugo Locurcio <hugo.locurcio@hugo.pro>2019-09-01 23:48:38 +0200
commit7e01986ce1341016f91d3dcaf62ab51c989b3d1f (patch)
tree68f47cf1837ba3706631686b2023a80ab17a8f99 /modules/jsonrpc/jsonrpc.h
parentaa06f515e0730c6bfcff14f9805355ce12db688a (diff)
downloadredot-engine-7e01986ce1341016f91d3dcaf62ab51c989b3d1f.tar.gz
Make JSONRPC constants uppercase for consistency with other classes
Diffstat (limited to 'modules/jsonrpc/jsonrpc.h')
-rw-r--r--modules/jsonrpc/jsonrpc.h10
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;