MCPcopy
hub / github.com/golang/go / Errorf

Function Errorf

src/pkg/fmt/print.go:187–189  ·  view source on GitHub ↗

Errorf formats according to a format specifier and returns the string converted to an os.ErrorString, which satisfies the os.Error interface.

(format string, a ...interface{})

Source from the content-addressed store, hash-verified

185// Errorf formats according to a format specifier and returns the string
186// converted to an os.ErrorString, which satisfies the os.Error interface.
187func Errorf(format string, a ...interface{}) os.Error {
188 return os.ErrorString(Sprintf(format, a...))
189}
190
191// These routines do not take a format string
192

Callers

nothing calls this directly

Calls 1

SprintfFunction · 0.85

Tested by

no test coverage detected