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

Top 8.2% on proxy.golang.org

proxy.golang.org : github.com/zach-klippenstein/errprops

Package errprops provides a fluent API for setting and querying key/value pairs on errors. It is compatible with Dave Cheney's github.com/pkg/errors package: errors returned by this package support both Stacktrace() and Cause(). They also support fmt.Formatter – key/value pairs are formatted using the format flags passed to Format, and the wrapped error is asked to format itself. A (contrived) example: This would output something like: See the Examples for more.

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/zach-klippenstein/errprops
License: Apache-2.0
Latest release: almost 9 years ago
First release: almost 9 years ago
Namespace: github.com/zach-klippenstein
Stars: 0 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: about 2 months ago

    Loading...
    Readme
    Loading...