errutil

package
v0.85.0-pre.0 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2026 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Maybe

func Maybe(msg string, err error) error

func ToIsErrFunc

func ToIsErrFunc(targetErr error) func(error) bool

Types

type Err

type Err struct {
	Wrapper error
	Cause   error
	Prefix  string
}

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