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

Function Errorf

testdata/src/stubs/google.golang.org/grpc/status/status.go:26–28  ·  view source on GitHub ↗

Errorf returns an error representing c and a formatted msg. If c is OK, returns nil.

(c codes.Code, format string, a ...interface{})

Source from the content-addressed store, hash-verified

24
25// Errorf returns an error representing c and a formatted msg. If c is OK, returns nil.
26func Errorf(c codes.Code, format string, a ...interface{}) error {
27 return nil
28}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected