Format implements the fmt.Formatter interface.
(s fmt.State, verb rune)
| 940 | |
| 941 | // Format implements the fmt.Formatter interface. |
| 942 | func (ef *errorFormatter) Format(s fmt.State, verb rune) { FormatError(ef.err, s, verb) } |
| 943 | |
| 944 | // Error implements error, so that `redact` knows what to do with it. |
| 945 | func (ef *errorFormatter) Error() string { return ef.err.Error() } |
no test coverage detected