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

Method String

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

String is used for debugging only.

()

Source from the content-addressed store, hash-verified

779
780// String is used for debugging only.
781func (e formatEntry) String() string {
782 return fmt.Sprintf("formatEntry{%T, %q, %q}", e.err, e.head, e.details)
783}
784
785// Write implements io.Writer.
786func (s *state) Write(b []byte) (n int, err error) {

Callers 9

ErrorMethod · 0.45
ErrorMethod · 0.45
TestPrintEntryFunction · 0.45
TestPrintEntryRedactableFunction · 0.45
formatErrorInternalFunction · 0.45
finishDisplayMethod · 0.45
getFullTypeNameFunction · 0.45

Calls

no outgoing calls

Tested by 6

ErrorMethod · 0.36
ErrorMethod · 0.36
TestPrintEntryFunction · 0.36
TestPrintEntryRedactableFunction · 0.36