Error code standardization

This commit is contained in:
skiffer-git
2023-01-12 16:50:37 +08:00
parent 425ba5946f
commit 4e9f4ecaff
+1 -1
View File
@@ -16,7 +16,7 @@ type ErrInfo struct {
}
func (e *ErrInfo) Error() string {
return e.ErrMsg
return "errMsg: " + e.ErrMsg + " detail errMsg: " + e.DetailErrMsg
}
func (e *ErrInfo) Code() int32 {