ci #332
Annotations
10 errors
Lint:
internal/cmd/generate-txt-testdata/main.go#L40
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"usage: %s [file or directory]\", os.Args[0])" (err113)
|
Lint:
internal/cmd/generate-txt-testdata/main.go#L113
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"unknown file type: %s\", filePath)" (err113)
|
Lint:
decode.go#L95
do not define dynamic errors, use wrapped static errors instead: "errors.New(\"expected exactly one node in document\")" (err113)
|
Lint:
decode.go#L141
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(format, args...)" (err113)
|
Lint:
decode.go#L183
do not define dynamic errors, use wrapped static errors instead: "errors.New(\"missing @type field\")" (err113)
|
Lint:
decode.go#L416
do not define dynamic errors, use wrapped static errors instead: "errors.New(\"precision loss\")" (err113)
|
Lint:
decode.go#L430
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"expected int32 for %v, got int64\", field.FullName())" (err113)
|
Lint:
decode.go#L432
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"expected int32 for %v, got int64\", field.FullName())" (err113)
|
Lint:
decode.go#L467
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"message %v cannot be extended by %v\", msgDesc.FullName(), result.FullName())" (err113)
|
Lint:
decode.go#L691
do not define dynamic errors, use wrapped static errors instead: "errors.New(\"missing trailing 's'\")" (err113)
|
Loading