mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-05-11 04:25:59 +08:00
Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode
This commit is contained in:
+1
-1
@@ -82,7 +82,7 @@ func (e *codeError) Is(err error, loose ...bool) bool {
|
||||
}
|
||||
|
||||
func (e *codeError) Error() string {
|
||||
return fmt.Sprintf("[%d]%s", e.code, e.msg)
|
||||
return fmt.Sprintf("%s", e.msg)
|
||||
}
|
||||
|
||||
func Unwrap(err error) error {
|
||||
|
||||
Reference in New Issue
Block a user