Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var As = errors.As
As finds the first error in err's chain that matches target, and if one is found, sets target to that error value and returns true. Otherwise, it returns false.
View Source
var Errorf = xerrors.Errorf
Errorf formats according to a format specifier and returns the string as a value that satisfies error.
View Source
var Is = errors.Is
Is reports whether any error in err's chain matches target.
View Source
var New = errors.New
New returns an error that formats as the given text. Each call to New returns a distinct error value even if the text is identical.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.