errors

package
v0.0.0-...-872137d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 17, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL