errors

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ErrorAs

func ErrorAs(err error, target interface{}) bool

ErrorAs wraps errors.As.

func ErrorIs

func ErrorIs(err, target error) bool

ErrorIs wraps errors.Is.

func Errorf

func Errorf(format string, a ...interface{}) error

Errorf wraps fmt.Errorf.

func NewError

func NewError(text string) error

NewError wraps errors.New.

Types

This section is empty.

Jump to

Keyboard shortcuts

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