MCPcopy
hub / github.com/uber-go/nilaway / retsJustErr

Function retsJustErr

testdata/src/go.uber.org/errorreturn/errorreturn.go:31–33  ·  view source on GitHub ↗

this tests that the default nilability for error returns is `nilable`

()

Source from the content-addressed store, hash-verified

29
30// this tests that the default nilability for error returns is `nilable`
31func retsJustErr() error {
32 return nil
33}
34
35// this tests that the default nilability for error params is `nilable`
36func takesJustErr(e error) {

Callers 1

usesErrFuncFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected