errorcompounder

package
v1.20.1 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2023 License: BSD-3-Clause Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrorCompounder

type ErrorCompounder struct {
	// contains filtered or unexported fields
}

func (*ErrorCompounder) Add

func (ec *ErrorCompounder) Add(err error)

func (*ErrorCompounder) AddWrap

func (ec *ErrorCompounder) AddWrap(err error, wrapMsg ...string)

func (*ErrorCompounder) Addf

func (ec *ErrorCompounder) Addf(msg string, args ...interface{})

func (*ErrorCompounder) Len

func (ec *ErrorCompounder) Len() int

func (*ErrorCompounder) ToError

func (ec *ErrorCompounder) ToError() error

type SafeErrorCompounder

type SafeErrorCompounder struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func (*SafeErrorCompounder) Add

func (ec *SafeErrorCompounder) Add(err error)

func (*SafeErrorCompounder) Addf

func (ec *SafeErrorCompounder) Addf(msg string, args ...interface{})

func (*SafeErrorCompounder) ToError

func (ec *SafeErrorCompounder) ToError() error

Jump to

Keyboard shortcuts

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