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

Method Format

domains/domains_test.go:253–253  ·  view source on GitHub ↗
(s fmt.State, verb rune)

Source from the content-addressed store, hash-verified

251func (e *werrFmt) Error() string { return fmt.Sprintf("%s: %v", e.msg, e.cause) }
252func (e *werrFmt) Unwrap() error { return e.cause }
253func (e *werrFmt) Format(s fmt.State, verb rune) { errbase.FormatError(e, s, verb) }
254func (e *werrFmt) FormatError(p errbase.Printer) error {
255 p.Print(e.msg)
256 if p.Detail() {

Callers

nothing calls this directly

Calls 1

FormatErrorFunction · 0.92

Tested by

no test coverage detected