Documentation ¶
Overview ¶
Package errwrap contains some error helpers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Append ¶
Append can be used to safely append an error onto an existing one. If you pass in a nil error to append, the existing error will be returned unchanged. If the existing error is already nil, then the new error will be returned unchanged. This makes it easy to use Append as a safe `reterr += err`, when you don't know if either is nil or not.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.