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
    // contains filtered or unexported fields

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 6 packages. Updated 2021-01-27. Refresh now. Tools for package owners.