github.com/golang/xerrors
Package xerrors implements functions to manipulate errors. This package is based on the Go 2 proposal for error values: https://go.dev/design/29934-error-values These functions were incorporated into the standard library's errors package in Go 1.13: - Is - As - Unwrap Also, Errorf's %w verb was incorporated into fmt.Errorf. No other features of this package were included in Go 1.13, and at present there are no plans to include any of them.
Links
| Registry | proxy.golang.org |
| Source | Repository |
| Docs | Documentation |
| JSON API | View JSON |
| CodeMeta | codemeta.json |
Package Details
| PURL |
pkg:golang/github.com/golang/xerrors
spec |
| License | BSD-3-Clause |
| Namespace | github.com/golang |
| Last Synced | about 15 hours ago |
Rankings on proxy.golang.org
Overall
Top 3.8%
Dependent packages
Top 6.6%
Dependent repos
Top 0.9%