MCPcopy Create free account
hub / github.com/github/gh-aw / Error

Method Error

pkg/linters/errorfwrapv/testdata/src/errorfwrapv/errorfwrapv.go:14–14  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12}
13
14func (e *myError) Error() string { return e.msg }
15
16// BadVWrap uses %v to format an error — should be %w.
17func BadVWrap(err error) error {

Callers 15

TestColorSelectionFunction · 0.45
checkErrorFunction · 0.45
checkPermissionFunction · 0.45
checkIgnoredPreviousLineFunction · 0.45
checkIgnoredSameLineFunction · 0.45
checkHasPrefixFunction · 0.45
checkHasSuffixFunction · 0.45
checkEqualFoldFunction · 0.45
checkIndexFunction · 0.45
checkLastIndexFunction · 0.45
checkCompareFunction · 0.45

Calls

no outgoing calls

Tested by 3

TestColorSelectionFunction · 0.36
TestAnalyzerFieldsFunction · 0.36