Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CombineErrors ¶
CombineErrors combines the given collection of errors together. nil values will be ignored.
The intention for this is to help chain togeter errors from multiple failing operations.
CombineErrors( reader.Close(), writer.Close(), )
This may also be used like so,
err := reader.Close() err = internal.CombineErrors(err, writer.Close()) if someCondition { err = internal.CombineErrors(err, transport.Close()) }
func MultiError ¶
MultiError combines a list of errors into one. The list MUST NOT contain nil.
Returns nil if the error list is empty.
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
Package frame provides a framed reader and writer.
|
Package frame provides a framed reader and writer. |
builtin/pluginapigen
Package pluginapigen provides a plugin Handle that generates code used by the plugin system itself.
|
Package pluginapigen provides a plugin Handle that generates code used by the plugin system itself. |
Click to show internal directories.
Click to hide internal directories.