MCPcopy Create free account
hub / github.com/cockroachdb/errors / withPrefix

Struct withPrefix

errutil/redactable.go:58–61  ·  view source on GitHub ↗

withPrefix is like withMessage but the message can contain redactable and non-redactable parts.

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected