(p errbase.Printer)
| 60 | func (e *withDomain) Format(s fmt.State, verb rune) { errbase.FormatError(e, s, verb) } |
| 61 | |
| 62 | func (e *withDomain) SafeFormatError(p errbase.Printer) error { |
| 63 | if p.Detail() { |
| 64 | p.Print(redact.Safe(e.domain)) |
| 65 | } |
| 66 | return e.cause |
| 67 | } |
| 68 | |
| 69 | // A domain-annotated error is decoded exactly. |
| 70 | func decodeWithDomain( |