MCPcopy Create free account
hub / github.com/cockroachdb/errors / ErrorHinter

Interface ErrorHinter

hintdetail/hintdetail.go:95–97  ·  view source on GitHub ↗

ErrorHinter is implemented by types that can provide user-informing detail strings. This is implemented by withHint here, withIssueLink, assertionFailure and pgerror.Error.

Source from the content-addressed store, hash-verified

93// user-informing detail strings. This is implemented by withHint
94// here, withIssueLink, assertionFailure and pgerror.Error.
95type ErrorHinter interface {
96 ErrorHint() string
97}
98
99// WithDetail decorates an error with a textual detail.
100// The detail may contain PII and thus will not reportable.

Callers 1

getAllHintsInternalFunction · 0.65

Implementers 4

unimplementedErrorissuelink/unimplemented_error.go
withIssueLinkissuelink/with_issuelink.go
withAssertionFailureassert/assert.go
withHinthintdetail/with_hint.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…