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

Method Error

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

Error implements error, so that `redact` knows what to do with it.

()

Source from the content-addressed store, hash-verified

943
944// Error implements error, so that `redact` knows what to do with it.
945func (ef *errorFormatter) Error() string { return ef.err.Error() }
946
947// Unwrap makes it a wrapper.
948func (ef *errorFormatter) Unwrap() error { return ef.err }

Callers 1

formatSimpleMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected