Help us shape the future of Go! Take the 2026 Go Developer Survey

errlist

package
v1.7.9 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2019 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrorList

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

ErrorList is a simple error aggregator to return multiple errors as one.

func NewErrorList

func NewErrorList() *ErrorList

func (*ErrorList) Add

func (el *ErrorList) Add(err error)

func (*ErrorList) Err

func (el *ErrorList) Err() error

func (*ErrorList) Error

func (el *ErrorList) Error() string

Jump to

Keyboard shortcuts

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