errors

package
v0.1.1 Latest Latest
Warning

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

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

type ErrorInfo struct {
	Message  string
	RawError error
}

type MultiErrors

type MultiErrors struct {
	Errors map[string][]ErrorInfo
}

func NewMultiErrors

func NewMultiErrors() *MultiErrors

func (*MultiErrors) Add

func (e *MultiErrors) Add(key, message string, err error)

func (*MultiErrors) Error

func (e *MultiErrors) Error() string

func (*MultiErrors) HasErrors

func (e *MultiErrors) HasErrors() bool

Jump to

Keyboard shortcuts

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