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

Method ErrorHint

issuelink/unimplemented_error.go:44–49  ·  view source on GitHub ↗

ErrorHint implements the hintdetail.ErrorHinter interface.

()

Source from the content-addressed store, hash-verified

42
43// ErrorHint implements the hintdetail.ErrorHinter interface.
44func (w *unimplementedError) ErrorHint() string {
45 var hintText bytes.Buffer
46 hintText.WriteString(UnimplementedErrorHint)
47 maybeAppendReferral(&hintText, w.IssueLink)
48 return hintText.String()
49}
50
51// UnimplementedErrorHint is the hint emitted upon unimplemented errors.
52const UnimplementedErrorHint = `You have attempted to use a feature that is not yet implemented.`

Callers

nothing calls this directly

Calls 2

maybeAppendReferralFunction · 0.85
StringMethod · 0.45

Tested by

no test coverage detected