Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DoOrSkip ¶
type DoOrSkip struct {
// contains filtered or unexported fields
}
DoOrSkip executes given functions in order. If an error occurrs during execution, it skips
type MultiLine ¶
type MultiLine interface { error // Add an error. // If the error is nil, Add panics. Add(error) // AddIf add an error. // If the error is nil, do nothing. AddIfErr(error) // Len returns the count of errors Len() int }
MultiLine represents multiple errors, prints line by line
func NewMultiLine ¶
NewMultiLine creates new MultiLine error by given error(s)
Click to show internal directories.
Click to hide internal directories.