Error code standardization

This commit is contained in:
skiffer-git 2023-01-12 16:50:37 +08:00
parent 425ba5946f
commit 4e9f4ecaff

View File

@ -16,7 +16,7 @@ type ErrInfo struct {
} }
func (e *ErrInfo) Error() string { func (e *ErrInfo) Error() string {
return e.ErrMsg return "errMsg: " + e.ErrMsg + " detail errMsg: " + e.DetailErrMsg
} }
func (e *ErrInfo) Code() int32 { func (e *ErrInfo) Code() int32 {