withPrefix is like withMessage but the message can contain redactable and non-redactable parts.
| 56 | // withPrefix is like withMessage but the |
| 57 | // message can contain redactable and non-redactable parts. |
| 58 | type withPrefix struct { |
| 59 | cause error |
| 60 | prefix redact.RedactableString |
| 61 | } |
| 62 | |
| 63 | var _ error = (*withPrefix)(nil) |
| 64 | var _ fmt.Formatter = (*withPrefix)(nil) |
nothing calls this directly
no outgoing calls
no test coverage detected