errors

package
v0.0.0-...-00d00b2 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Append

func Append(err error, errs ...error) *multierror.Error

func As

func As(err error, target any) bool

func Flatten

func Flatten(err error) error

func Is

func Is(err, target error) bool

func New

func New(msg string) error

func Prefix

func Prefix(err error, prefix string) error

func Unwrap

func Unwrap(err error) error

func Wrap

func Wrap(err error, msg string) error

func WrapIfErr

func WrapIfErr(err error, msg string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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