MCPcopy Index your code
hub / github.com/cockroachdb/errors / SafeFormatError

Method SafeFormatError

errbase/format_error_internal_test.go:55–60  ·  view source on GitHub ↗
(p Printer)

Source from the content-addressed store, hash-verified

53}
54
55func (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
62var _ SafeFormatter = &wrapElideCauses{}
63

Callers

nothing calls this directly

Calls 1

PrintMethod · 0.65

Tested by

no test coverage detected