Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 3.3% on proxy.golang.org
Top 5.8% dependent packages on proxy.golang.org
Top 1.4% dependent repos on proxy.golang.org
Top 3.9% forks on proxy.golang.org

proxy.golang.org : github.com/uber-go/multierr

Package multierr allows combining one or more errors together. Errors can be combined with the use of the Combine function. If only two errors are being combined, the Append function may be used instead. This makes it possible to record resource cleanup failures from deferred blocks with the help of named return values. The underlying list of errors for a returned error object may be retrieved with the Errors function. Errors returned by Combine and Append MAY implement the following interface. Note that if you need access to list of errors behind a multierr error, you should prefer using the Errors function. That said, if you need cheap read-only access to the underlying errors slice, you can attempt to cast the error to this interface. You MUST handle the failure case gracefully because errors returned by Combine and Append are not guaranteed to implement this interface.

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/uber-go/multierr
Keywords: errors, go, golang
License: MIT
Latest release: about 1 year ago
First release: about 7 years ago
Namespace: github.com/uber-go
Dependent packages: 1
Dependent repositories: 14
Stars: 773 on GitHub
Forks: 39 on GitHub
Docker dependents: 1
Docker downloads: 53
See more repository details: repos.ecosyste.ms
Last synced: 24 days ago

    Loading...
    Readme
    Loading...