mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-10-02 13:14:22 +08:00
Error code standardization
This commit is contained in:
parent
425ba5946f
commit
4e9f4ecaff
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user