errors

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2025 License: MIT, Apache-2.0 Imports: 0 Imported by: 11

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Wrap added in v1.0.0

func Wrap(err error, msg string) error

Types

type ErrMsg added in v1.0.0

type ErrMsg string

func (ErrMsg) Error added in v1.0.0

func (e ErrMsg) Error() string

type Is added in v1.0.0

type Is interface {
	Is(err error) bool
}

type Unwrapper added in v1.0.0

type Unwrapper interface {
	Unwrap() error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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