Top 2.9% dependent repos on proxy.golang.org
proxy.golang.org : github.com/thalesfsp/customerror
Package customerror provides the base block to create custom errors. It also provides built-in custom errors covering some common cases. A Custom Error provides context - a `Message` to an optionally wrapped `Err`. Additionally a `Code` - for example "E1010", and `StatusCode` can be provided. Both static (pre-created), and dynamic (in-line) errors can be easily created. `Code` helps a company build a catalog of errors, which helps, and improves customer service. Examples: See `example_test.go` or the Example section of the GoDoc documention.
Registry
-
Source
- Documentation
- JSON
purl: pkg:golang/github.com/thalesfsp/customerror
Keywords:
custom-error
, go
, golang
License: MIT
Latest release: 8 months ago
First release: almost 3 years ago
Namespace: github.com/thalesfsp
Dependent packages: 13
Dependent repositories: 3
Stars: 1 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 3 days ago