Go: Fix error code (#16807)

### Summary

As title.

---------

Signed-off-by: Jin Hai <haijin.chn@gmail.com>
This commit is contained in:
Jin Hai
2026-07-10 17:02:25 +08:00
committed by GitHub
parent 07a3523b09
commit 2a83ad6cb2
7 changed files with 282 additions and 281 deletions

View File

@@ -22,6 +22,7 @@ type ErrorCode int
const (
CodeSuccess ErrorCode = 0
CodeLackResources ErrorCode = 1
CodeNotEffective ErrorCode = 10
CodeExceptionError ErrorCode = 100
CodeArgumentError ErrorCode = 101