From a5d241569955ab98749ee78c0d76f6cc23561b74 Mon Sep 17 00:00:00 2001 From: AmirMahdi Qiasvand Date: Sun, 10 Aug 2025 11:54:27 +0330 Subject: [PATCH] feat: add contract not found error --- errors/v1/msg.proto | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/errors/v1/msg.proto b/errors/v1/msg.proto index b073f94..d8727b6 100644 --- a/errors/v1/msg.proto +++ b/errors/v1/msg.proto @@ -103,6 +103,7 @@ enum ErrCode { LOW_REQUEST_AMOUNT = 7014; AGREEMENT_ALREADY_ACCEPTED = 7015; CONTRACT_ALREADY_GENERATED = 7016; + CONTRACT_NOT_FOUND = 7080; NIL_AUTH = 7017; CAN_NOT_BUY_AND_DEPOSIT = 7018; WHITELIST_ALREADY_USED = 7027; @@ -115,7 +116,6 @@ enum ErrCode { NOT_ENOUGH_LOCKED_BALANCE = 7034; NOT_ENOUGH_BALANCE_TO_LOCK = 7035; - // Server errors SERVER_ERROR_FREEZED_BALANCE_NEGATIVE = 8000; SERVER_ERROR_NIL_DB_TX = 8001;