errorgroup-go: Index | Files

package errorgroup

import ""


Package Files


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.