FormatRedactableError formats an error as a safe object. Note that certain verb/flags combinations are currently not supported, and result in a rendering that considers the entire object as unsafe. For example, %q, %#v are not yet supported.
(err error, s redact.SafePrinter, verb rune)
| 57 | // supported, and result in a rendering that considers the entire |
| 58 | // object as unsafe. For example, %q, %#v are not yet supported. |
| 59 | func FormatRedactableError(err error, s redact.SafePrinter, verb rune) { |
| 60 | formatErrorInternal(err, s, verb, true /* redactable */) |
| 61 | } |
| 62 | |
| 63 | func init() { |
| 64 | // Also inform the redact package of how to print an error |
nothing calls this directly
no test coverage detected
searching dependent graphs…