errors

package
v1.8.1-0...-0157f87 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNotFound = New("not found")

ErrNotFound - object not found

Functions

func As

func As(cause error, target interface{}) bool

func Cause

func Cause(err error) error

func Errorf

func Errorf(format string, args ...any) error

func Is

func Is(cause, target error) bool

func Join

func Join(errs ...error) error

func New

func New(text string) error

func Unwrap

func Unwrap(cause error) error

func Wrap

func Wrap(cause error, text string) error

func Wrapf

func Wrapf(cause error, format string, args ...any) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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