errors

package
v2.56.0 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// As is an alias for errors.As.
	As = errors.As

	// New is an alias for errors.New.
	New = errors.New

	// Is is an alias for errors.Is.
	Is = errors.Is

	// Join is an alias for errors.Join.
	Join = errors.Join
)

Functions

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