err

package
v1.40.0 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 3 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func As added in v1.30.0

func As(err error, target any) bool

func Is added in v1.30.0

func Is(err, target error) bool

func New added in v1.31.0

func New(text string) error

func Unwrap added in v1.30.0

func Unwrap(err error) error

Types

type Err

type Err struct {
	Op  string
	Err string
	E   error
}

func (*Err) Error

func (e *Err) Error() string

func (*Err) Unwrap

func (e *Err) Unwrap() error

Jump to

Keyboard shortcuts

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