errors

package
v0.0.0-...-c714362 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 20, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MultiError

type MultiError struct {
	Errors []error
	// contains filtered or unexported fields
}

MultiError holds multiple errors

func NewMultiError

func NewMultiError(errors []error) *MultiError

NewMultiError creates and returns an Error with error splice

func (*MultiError) Append

func (e *MultiError) Append(err error)

func (*MultiError) Error

func (e *MultiError) Error() string

Error returns the message of the actual error

func (*MultiError) ErrorOrNil

func (e *MultiError) ErrorOrNil() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL