Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Collector ¶
type Collector struct {
// contains filtered or unexported fields
}
Collector collects multiple errors, allowing for deferred error handling and propagation.
func (*Collector) Add ¶
Add an error to the Collector.
If an error collector is being added to this one, all errors which it has accumulated are copied into this collector.
Click to show internal directories.
Click to hide internal directories.