Documentation ¶ Index ¶ type Errors func New() Errors func (e *Errors) Add(err error) func (e Errors) Error() string func (e Errors) ErrorTab() string func (e Errors) IsEmpty() bool func (e Errors) String() string func (e Errors) Stringify(separator string) string func (e *Errors) ToError() error Constants ¶ This section is empty. 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 Source Files ¶ View all Source files errorslice.go Click to show internal directories. Click to hide internal directories.