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

Top 2.9% on proxy.golang.org
Top 0.1% forks on proxy.golang.org

proxy.golang.org : github.com/docker/docker/errdefs

Package errdefs defines a set of error interfaces that packages should use for communicating classes of errors. Errors that cross the package boundary should implement one (and only one) of these interfaces. Packages should not reference these interfaces directly, only implement them. To check if a particular error implements one of these interfaces, there are helper functions provided (e.g. `Is<SomeError>`) which can be used rather than asserting the interfaces directly. If you must assert on these interfaces, be sure to check the causal chain (`err.Unwrap()`).

Registry - Source - Documentation - JSON - codemeta.json
purl: pkg:golang/github.com/docker/docker/errdefs
Keywords: containers , docker , go , golang
License: Apache-2.0
Latest release: 20 days ago
Namespace: github.com/docker/docker
Stars: 69,967 on GitHub
Forks: 18,771 on GitHub
Docker dependents: 1
Docker downloads: 9
Total Commits: 29908
Committers: 2464
Average commits per author: 12.138
Development Distribution Score (DDS): 0.842
More commit stats: commits.ecosyste.ms
See more repository details: repos.ecosyste.ms
Last synced: 20 days ago