Skip to content

rShetty/multierror

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MultiError

Build Status

-- import "github.com/rShetty/multierror"

Usage

type MultiError

type MultiError struct {
}

MultiError implements error interface. An instance of MultiError has zero or more errors.

func (*MultiError) Error

func (m *MultiError) Error() string

Error implements error interface.

func (*MultiError) HasError

func (m *MultiError) HasError() *MultiError

HasError checks if MultiError has any error.

func (*MultiError) Push

func (m *MultiError) Push(errString string)

Push adds an error to MultiError.

License


This tool is released under the MIT license. Please refer to LICENSE for more details.

About

MultiError for handling zero or more errors

Resources

License

Stars

Watchers

Forks

Packages

No packages published