errors

package
v2.105.0 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func As added in v2.14.0

func As(err error, target any) bool

As is an alias for errors.As.

func Is added in v2.14.0

func Is(err, target error) bool

Is is an alias for errors.Is.

func Join added in v2.14.0

func Join(errs ...error) error

Join is an alias for errors.Join.

func New added in v2.14.0

func New(text string) error

New is an alias for errors.New.

func Prefix

func Prefix(prefix string, err error) error

Prefix an error.

Types

This section is empty.

Jump to

Keyboard shortcuts

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