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

Method Format

markers/markers_test.go:712–712  ·  view source on GitHub ↗
(s fmt.State, verb rune)

Source from the content-addressed store, hash-verified

710func (e *werrFmt) Error() string { return fmt.Sprintf("%s: %v", e.msg, e.cause) }
711func (e *werrFmt) Unwrap() error { return e.cause }
712func (e *werrFmt) Format(s fmt.State, verb rune) { errbase.FormatError(e, s, verb) }
713func (e *werrFmt) FormatError(p errbase.Printer) error {
714 p.Print(e.msg)
715 if p.Detail() {

Callers

nothing calls this directly

Calls 1

FormatErrorFunction · 0.92

Tested by

no test coverage detected