Documentation
¶
Overview ¶
The errs package has a few utility functions to make handling errors a little more concise in certain cases.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Combine ¶
Combine returns the composite of all non-nil errors in the input, with the given text description added for context.
func First ¶
First returns the first non-nil error given in the input, wrapped with the given description string. If there isn't one, First returns nil.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.