errors

package
v0.0.0-...-0805d90 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrUnsupported = errors.ErrUnsupported

ErrUnsupported is an alias for errors.ErrUnsupported.

Functions

func Is

func Is(err, target error) bool

Is redirects to the errors.Is method.

func New

func New(text string) error

New redirects to the errors.New method.

func Wrap

func Wrap(err error, msg string) error

Wrap wraps an error with a message.

func Wrapf

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

Wrapf wraps an error with a formatted message.

Types

This section is empty.

Jump to

Keyboard shortcuts

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