Go stdlib package — errors. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.
.As()NeutralAs(err error, target any) bool
As finds the first error in err's tree that matches target, and if one is found, sets
.Is()NeutralIs(err error, target error) bool
Is reports whether any error in err's tree matches target.
.Unwrap()NeutralUnwrap(err error) error
Unwrap returns the result of calling the Unwrap method on err, if err's
| FQN | Field | |
|---|---|---|
| errors | fqns[0] |
Wrong FQN → 0 findings. Verify with: change fqns to garbage → must produce 0 results.
// standard library — no go.mod entry required
from codepathfinder.go_rule import ... # errors