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

Method Format

errbase/format_error.go:942–942  ·  view source on GitHub ↗

Format implements the fmt.Formatter interface.

(s fmt.State, verb rune)

Source from the content-addressed store, hash-verified

940
941// Format implements the fmt.Formatter interface.
942func (ef *errorFormatter) Format(s fmt.State, verb rune) { FormatError(ef.err, s, verb) }
943
944// Error implements error, so that `redact` knows what to do with it.
945func (ef *errorFormatter) Error() string { return ef.err.Error() }

Callers 1

formatRecursiveMethod · 0.45

Calls 1

FormatErrorFunction · 0.70

Tested by

no test coverage detected