This commit is contained in:
wangchuxiao
2022-01-24 01:40:49 +08:00
parent d58bcd136a
commit 1607853393
21 changed files with 6352 additions and 2696 deletions
+5 -1
View File
@@ -78,6 +78,10 @@ const (
IntentionalError = 10007
)
func (e *ErrInfo) Error() string {
func (e ErrInfo) Error() string {
return e.ErrMsg
}
func (e *ErrInfo) Code() int32 {
return e.ErrCode
}