errors

package
v0.4.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Cause        = errs.Cause
	New          = errs.New
	WithMessage  = errs.WithMessage
	WithMessagef = errs.WithMessagef
	WithStack    = errs.WithStack
)

Functions

func CauseWithNil

func CauseWithNil(err error) error

CauseWithNil returns Cause of an error. If error returned by Cause is same (no Causer interface implemented), function will return nil instead

func Newf

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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