Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Errors ¶
Errors return the underlying errors, if possible. An error value has a errors if it implements the following interface:
type errors interface {
Errors() []error
}
If the error does not implement Errors, the original error will be returned like []error{err}. If the error is nil, nil will be returned without further investigation.
Types ¶
Click to show internal directories.
Click to hide internal directories.