rpcx: github.com/smallnest/rpcx/errors Index | Files

package errors

import "github.com/smallnest/rpcx/errors"


Package Files


type MultiError Uses

type MultiError struct {
    Errors []error

MultiError holds multiple errors

func NewMultiError Uses

func NewMultiError(errors []error) *MultiError

NewMultiError creates and returns an Error with error splice

func (*MultiError) Append Uses

func (e *MultiError) Append(err error)

func (*MultiError) Error Uses

func (e *MultiError) Error() string

Error returns the message of the actual error

Package errors imports 2 packages (graph) and is imported by 4 packages. Updated 2018-11-08. Refresh now. Tools for package owners.