Documentation ¶
Index ¶
- func FormatFn(format string, errs ...error) func(a ...any) error
- func ValueFn(errs ...error) func(v any) error
- type Errorer
- func (e *Errorer) Add(errs ...error) *Errorer
- func (e Errorer) Error() string
- func (e Errorer) FormatFn(format string) func(a ...any) error
- func (e *Errorer) Is(err error) bool
- func (e Errorer) List() []string
- func (e *Errorer) MarshalJSON() ([]byte, error)
- func (e Errorer) String() string
- func (e Errorer) Sub(errs ...error) *Errorer
- func (e Errorer) Subf(format string, a ...any) *Errorer
- func (e *Errorer) UnmarshalJSON(data []byte) error
- func (e *Errorer) Unwrap() []error
- func (e Errorer) ValueFn() func(v any) error
- func (e Errorer) WithValue(v any) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Errorer ¶ added in v1.0.28
type Errorer struct {
Errors []error
}
func (*Errorer) MarshalJSON ¶ added in v1.0.28
func (*Errorer) UnmarshalJSON ¶ added in v1.0.28
Click to show internal directories.
Click to hide internal directories.