From 0a26659dac4025c3be19b050af49938c99faeafa Mon Sep 17 00:00:00 2001 From: "lilong.129" Date: Fri, 13 Sep 2024 10:50:38 +0800 Subject: [PATCH] feat: add cdoe MaxRetryError --- hrp/code/code.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hrp/code/code.go b/hrp/code/code.go index c9fc2abc..1c408a46 100644 --- a/hrp/code/code.go +++ b/hrp/code/code.go @@ -47,6 +47,7 @@ var ( InitPluginFailed = errors.New("init plugin failed") // 31 BuildGoPluginFailed = errors.New("build go plugin failed") // 32 BuildPyPluginFailed = errors.New("build py plugin failed") // 33 + MaxRetryError = errors.New("max retry error") // 37 InterruptError = errors.New("interrupt error") // 38 TimeoutError = errors.New("timeout error") // 39 ) @@ -131,6 +132,7 @@ var errorsMap = map[error]int{ InitPluginFailed: 31, BuildGoPluginFailed: 32, BuildPyPluginFailed: 33, + MaxRetryError: 37, InterruptError: 38, TimeoutError: 39,