Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Errors ¶
type Errors struct {
// contains filtered or unexported fields
}
Errors is an error list, it helps return multi-errors.
func NewWithError ¶
NewWithError creates an errors and adds the given error.
func (*Errors) ErrorOrNil ¶
ErrorOrNil returns nil if no errors.
func (*Errors) SetFormatter ¶
SetFormatter sets inner formatter. The formatter used to formatted the error string.
Click to show internal directories.
Click to hide internal directories.