errorslice

package
v0.6.13 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2024 License: AGPL-3.0 Imports: 1 Imported by: 2

Documentation

Index

Constants

View Source
const (
	NL  = "\n"
	NLT = "\n\t"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Errors

type Errors []error

Errors 多个错误信息

func New

func New() Errors

func (*Errors) Add

func (e *Errors) Add(err error)

func (Errors) Error

func (e Errors) Error() string

func (Errors) ErrorTab

func (e Errors) ErrorTab() string

func (Errors) IsEmpty

func (e Errors) IsEmpty() bool

func (Errors) String

func (e Errors) String() string

func (Errors) Stringify

func (e Errors) Stringify(separator string) string

func (Errors) ToError

func (e Errors) ToError() error

func (Errors) Unwrap

func (e Errors) Unwrap() []error

Jump to

Keyboard shortcuts

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