proxy.golang.org : github.com/nametake/lvlerr
Package labelerr provides to add label to error. The labelerr.Wrap function returns new erorr that added label to the original error. The label can be retrieved with labelerr.Label function. This is supported to be used with github.com/pkg/errors. So, labeled errors implement the Cause method and also supported to errors.Cause. And, it dosen't lose stacktrace that given by github.com/pkg/errors
Registry
-
Source
- Documentation
- JSON
purl: pkg:golang/github.com/nametake/lvlerr
License: BSD-2-Clause
Latest release: 2 months ago
Namespace: github.com/nametake
Stars: 6 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 2 months ago