ErrorHint implements the hintdetail.ErrorHinter interface.
()
| 42 | |
| 43 | // ErrorHint implements the hintdetail.ErrorHinter interface. |
| 44 | func (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. |
| 52 | const UnimplementedErrorHint = `You have attempted to use a feature that is not yet implemented.` |
nothing calls this directly
no test coverage detected