Error implements error, so that `redact` knows what to do with it.
()
| 943 | |
| 944 | // Error implements error, so that `redact` knows what to do with it. |
| 945 | func (ef *errorFormatter) Error() string { return ef.err.Error() } |
| 946 | |
| 947 | // Unwrap makes it a wrapper. |
| 948 | func (ef *errorFormatter) Unwrap() error { return ef.err } |