Ecosyste.ms: Packages

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

Top 6.0% on proxy.golang.org
Top 0.3% dependent packages on proxy.golang.org
Top 0.3% dependent repos on proxy.golang.org
Top 9.8% forks on proxy.golang.org
Top 0.6% docker downloads on proxy.golang.org

proxy.golang.org : github.com/getlantern/errors

Package errors defines error types used across Lantern project. or New() method will create a new error with err as its cause. Wrap will wrap err, returning nil if err is nil. If err is an error from Go's standard library, errors will extract details from that error, at least the Go type name and the return value of err.Error(). One can record the operation on which the error occurred using Op(): One can also record additional data: When used with github.com/getlantern/ops, Error captures its current context and propagates that data for use in calling layers. When used with github.com/getlantern/golog, Error provides stacktraces: It's the caller's responsibility to avoid race conditions accessing the same error instance from multiple goroutines.

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/getlantern/errors
License: Apache-2.0
Latest release: over 1 year ago
First release: over 3 years ago
Namespace: github.com/getlantern
Dependent packages: 336
Dependent repositories: 439
Stars: 1 on GitHub
Forks: 3 on GitHub
Docker dependents: 13
Docker downloads: 393,746
See more repository details: repos.ecosyste.ms
Last synced: 17 days ago

    Loading...
    Readme
    Loading...