fix: 完善错误处理 #7
Annotations
10 errors
build:
rikkabot/common/user.go#L46
do not define dynamic errors, use wrapped static errors instead: "errors.New(\"friend not found\")" (err113)
|
build:
rikkabot/common/user.go#L62
do not define dynamic errors, use wrapped static errors instead: "errors.New(\"friend not found\")" (err113)
|
build:
rikkabot/common/user.go#L78
do not define dynamic errors, use wrapped static errors instead: "errors.New(\"friend not found\")" (err113)
|
build:
rikkabot/common/user.go#L136
do not define dynamic errors, use wrapped static errors instead: "errors.New(\"group not found\")" (err113)
|
build:
rikkabot/common/user.go#L151
do not define dynamic errors, use wrapped static errors instead: "errors.New(\"group not found\")" (err113)
|
build:
rikkabot/common/user.go#L166
do not define dynamic errors, use wrapped static errors instead: "errors.New(\"group not found\")" (err113)
|
build:
rikkabot/common/user.go#L248
do not define dynamic errors, use wrapped static errors instead: "errors.New(\"doGetIdByNickname failed: group not found\")" (err113)
|
build:
rikkabot/common/user.go#L254
do not define dynamic errors, use wrapped static errors instead: "errors.New(\"doGetIdByNickname failed: friend not found\")" (err113)
|
build:
rikkabot/common/user.go#L274
do not define dynamic errors, use wrapped static errors instead: "errors.New(\"doGetNicknameById failed: group not found\")" (err113)
|
build:
rikkabot/common/user.go#L280
do not define dynamic errors, use wrapped static errors instead: "errors.New(\"doGetNicknameById failed: friend not found\")" (err113)
|