errors

package
v0.0.0-...-f4bc8ec Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Errorf

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

func Is

func Is(err error, reference error) bool

func IsExist

func IsExist(err error) bool

func IsNotExist

func IsNotExist(err error) bool

func New

func New(msg string) error

func Safe

func Safe(v any) redact.SafeValue

func UnwrapOnce

func UnwrapOnce(err error) error

func WithStack

func WithStack(err error) error

func Wrap

func Wrap(err error, msg string) error

func Wrapf

func Wrapf(err error, format string, args ...interface{}) error

Types

type StackTrace

type StackTrace = errbase.StackTrace

Jump to

Keyboard shortcuts

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