Errorf is a wrapper for fmt.Errorf that treats each argument as if it were passed with a Formatter interface returned by c.NewFormatter. It returns the formatted string as a value that satisfies error. See NewFormatter for formatting details. This function is shorthand for the following syntax:
(format string, a ...interface{})
| 113 | // |
| 114 | // fmt.Errorf(format, c.NewFormatter(a), c.NewFormatter(b)) |
| 115 | func (c *ConfigState) Errorf(format string, a ...interface{}) (err error) { |
| 116 | return fmt.Errorf(format, c.convertArgs(a)...) |
| 117 | } |
| 118 | |
| 119 | // Fprint is a wrapper for fmt.Fprint that treats each argument as if it were |
| 120 | // passed with a Formatter interface returned by c.NewFormatter. It returns |
nothing calls this directly
no test coverage detected