errorgroup-go: github.com/txgruppi/errorgroup-go Index | Files

package errorgroup

import "github.com/txgruppi/errorgroup-go"

Index

Package Files

errors.go

type ErrorGroup Uses

type ErrorGroup struct {
    Errors []error
}

ErrorGroup is used to group several errors together

func New Uses

func New(errs []error) *ErrorGroup

New creates a new ErrorGroup with the given errors

func (*ErrorGroup) Error Uses

func (e *ErrorGroup) Error() string

Error returns all the error messages joined by a new line character

Package errorgroup imports 1 packages (graph) and is imported by 1 packages. Updated 2017-10-23. Refresh now. Tools for package owners.