(p Printer)
| 53 | } |
| 54 | |
| 55 | func (e *wrapElideCauses) SafeFormatError(p Printer) (next error) { |
| 56 | p.Print(e.override) |
| 57 | // Returning nil elides errors from remaining causal chain in the |
| 58 | // implementation of `formatErrorInternal`. |
| 59 | return nil |
| 60 | } |
| 61 | |
| 62 | var _ SafeFormatter = &wrapElideCauses{} |
| 63 |