Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LabelError ¶
Types ¶
type LabeledError ¶
type LabeledError struct {
// contains filtered or unexported fields
}
func (LabeledError) Error ¶
func (l LabeledError) Error() string
Error returns the error as a message string (to implement the error interface).
func (LabeledError) Label ¶
func (l LabeledError) Label() string
Label returns the label for the error.
func (LabeledError) Unwrap ¶
func (l LabeledError) Unwrap() error
Unwrap returns the underlying error.
Click to show internal directories.
Click to hide internal directories.