error

package
v0.1.0-M1 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2022 License: EPL-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 CompoundError

type CompoundError struct {
	// contains filtered or unexported fields
}

CompoundError contains a slice of errors.

func (*CompoundError) Append

func (m *CompoundError) Append(errs ...error)

Append adds the errors into the list.

func (*CompoundError) Error

func (m *CompoundError) Error() string

Error returns the combined error messages.

func (*CompoundError) Size

func (m *CompoundError) Size() int

Size returns the count of list of errors.

Jump to

Keyboard shortcuts

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