From fa0f78b937a970049623d11361d106cf2f12cedd Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Thu, 20 Feb 2025 15:03:48 +0000 Subject: Add error constants for the custom error range. --- include/modules/rpc.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/modules') 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, -- cgit