Search Apps Documentation Source Content File Folder Download Copy Actions Download State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

v0 source pure

v0 - Unaudited: This is an initial version that has not yet been formally audited. A fully audited version will be pu...

Readme View source

v0 - Unaudited This is an initial version of this package that has not yet been formally audited. A fully audited version will be published as a subsequent release. Use in production at your own risk.

combinederr

Package combinederr provides a combined error type for aggregating multiple errors into a single error value.

Overview

v0 - Unaudited: This is an initial version that has not yet been formally audited. A fully audited version will be published as a subsequent release. Use in production at your own risk.

Package combinederr provides a combined error type for aggregating multiple errors into a single error value.

Types 1

type CombinedError

struct
1type CombinedError struct {
2	errors []error
3}
source

CombinedError is a combined execution error

Methods on CombinedError

func Add

method on CombinedError
1func (e *CombinedError) Add(err error)
source

Add adds a new error to the execution error

func Error

method on CombinedError
1func (e *CombinedError) Error() string
source

Error returns the combined execution error

func Size

method on CombinedError
1func (e *CombinedError) Size() int
source

Size returns a

Imports 1

  • strings stdlib

Source Files 4