Skip to content

refactor: 完善错误处理 #6

refactor: 完善错误处理

refactor: 完善错误处理 #6

Triggered via push July 18, 2024 05:44
Status Failure
Total duration 19s
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(\"SendFile2FriendByNickname failed: friend not found\")" (err113)
build: rikkabot/common/user.go#L61
do not define dynamic errors, use wrapped static errors instead: "errors.New(\"SendFile2FriendByNickname failed: friend not found\")" (err113)
build: rikkabot/common/user.go#L76
do not define dynamic errors, use wrapped static errors instead: "errors.New(\"SendFile2FriendByNickname failed: friend not found\")" (err113)
build: rikkabot/common/user.go#L89
do not define dynamic errors, use wrapped static errors instead: "errors.New(\"SendText2FriendById failed: friend not found\")" (err113)
build: rikkabot/common/user.go#L102
do not define dynamic errors, use wrapped static errors instead: "errors.New(\"SendImg2FriendById failed: friend not found\")" (err113)
build: rikkabot/common/user.go#L115
do not define dynamic errors, use wrapped static errors instead: "errors.New(\"SendFile2FriendByAvatarId failed: friend not found\")" (err113)
build: rikkabot/common/user.go#L130
do not define dynamic errors, use wrapped static errors instead: "errors.New(\"SendFile2GroupByNickname failed: group not found\")" (err113)
build: rikkabot/common/user.go#L144
do not define dynamic errors, use wrapped static errors instead: "errors.New(\"SendFile2GroupByNickname failed: group not found\")" (err113)
build: rikkabot/common/user.go#L158
do not define dynamic errors, use wrapped static errors instead: "errors.New(\"SendFile2GroupByNickname failed: group not found\")" (err113)
build: rikkabot/common/user.go#L172
do not define dynamic errors, use wrapped static errors instead: "errors.New(\"AddFriendInGroupByNickname failed: group not found\")" (err113)