Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Errors ¶
type Errors []error
Errors is an error type to track multiple errors. This is used to accumulate errors in cases and return them as a single "error".
func (*Errors) ErrorOrNil ¶
ErrorOrNil returns an error interface if this Error represents a list of errors, or returns nil if the list of errors is empty. This function is useful at the end of accumulation to make sure that the value returned represents the existence of errors.
Click to show internal directories.
Click to hide internal directories.