errors

package
v1.3.3 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2024 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 MultipleError

type MultipleError struct {
	Sep          string
	PluralPrefix string
	Index        bool
	AppendBefore func(err error)
	// contains filtered or unexported fields
}

func AppendError

func AppendError(m *MultipleError, errs ...error) *MultipleError

func NewMultipleError

func NewMultipleError(errs ...error) *MultipleError

func (*MultipleError) Append

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

func (*MultipleError) Clear

func (m *MultipleError) Clear()

func (*MultipleError) Count

func (m *MultipleError) Count() int

func (MultipleError) Error

func (m MultipleError) Error() string

func (*MultipleError) HasError

func (m *MultipleError) HasError() bool

Jump to

Keyboard shortcuts

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