vetkit.go.quality.empty-error-check
The error is checked but the branch is empty, so the failure is silently ignored.
Last updated:
Suite: Code quality
go
The error is checked but the branch is empty, so the failure is silently ignored.
Category: QUALITY · Engine rule severity: WARNING
How to fix it
Return, wrap or log the error.
Rule pattern example
The engine’s matching pattern, not a confirmed exploit. Metavariables and ellipses describe matching syntax.
if $ERR != nil {
}
References
Source: packages/engine/rules/quality/go.yml.
Generated from shipped rule definitions at build time. Matching is a review signal, not proof of exploitability. “generic” denotes text matching, not complete language or framework coverage. Runtime configuration and available tools affect whether a rule runs.