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/shabbyrobe/xxerrors

Package xxerrors implements functions to manipulate errors. This package supports transitioning to the Go 2 proposal for error values: Most of the functions and types in this package will be incorporated into the standard library's errors package in Go 1.13; the behavior of this package's Errorf function will be incorporated into the standard library's fmt.Errorf. Use this package to get equivalent behavior in all supported Go versions. For example, create errors using or If you want your error type to participate in the new formatting implementation for %v and %+v, provide it with a Format method that calls xxerrors.FormatError, as shown in the example for FormatError.

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/shabbyrobe/xxerrors
License: BSD-3-Clause
Latest release: about 6 years ago
First release: about 6 years ago
Namespace: github.com/shabbyrobe
Last synced: about 1 month ago

    Loading...
    Readme
    Loading...