Skip to content

fix: 完善错误处理 #7

fix: 完善错误处理

fix: 完善错误处理 #7

Triggered via push July 18, 2024 05:55
Status Failure
Total duration 21s
Artifacts
Fit to window
Zoom out
Zoom in

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)