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

Method SafeFormatError

join/join.go:69–77  ·  view source on GitHub ↗
(p errbase.Printer)

Source from the content-addressed store, hash-verified

67}
68
69func (e *joinError) SafeFormatError(p errbase.Printer) error {
70 for i, err := range e.errs {
71 if i > 0 {
72 p.Print("\n")
73 }
74 p.Print(err)
75 }
76 return nil
77}
78
79func (e *joinError) Format(s fmt.State, verb rune) {
80 errbase.FormatError(e, s, verb)

Callers

nothing calls this directly

Calls 1

PrintMethod · 0.65

Tested by

no test coverage detected