summaryrefslogtreecommitdiff
path: root/include/modules
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2025-02-20 15:03:48 +0000
committerSadie Powell <sadie@witchery.services>2025-02-20 15:08:37 +0000
commitfa0f78b937a970049623d11361d106cf2f12cedd (patch)
tree390e3793c3b7dcd05d966853d8e6f1e1f4a8c0e8 /include/modules
parent96839ae1b82fa51340ad9769fe57087c8dac5ede (diff)
Add error constants for the custom error range.
Diffstat (limited to 'include/modules')
-rw-r--r--include/modules/rpc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/modules/rpc.h b/include/modules/rpc.h
index b33c26800..ca23a0286 100644
--- a/include/modules/rpc.h
+++ b/include/modules/rpc.h
@@ -26,6 +26,8 @@ namespace RPC
enum Error
: int64_t
{
+ ERR_CUSTOM_END = -32000,
+ ERR_CUSTOM_START = -32099,
ERR_PARSE_ERROR = -32700,
ERR_INVALID_REQUEST = -32600,
ERR_METHOD_NOT_FOUND = -32601,