proxy.golang.org : github.com/stonelgh/cerrors
Package cerrors provides simple yet flexible error handling primitives. It allows you to categorize errors using error codes. It helps you to debug by recording the call stack when the error occurs and allowing you to add context to the failure path. To create and test an error with an error code: Print the call stack when the error happens: Add context to an error:
Registry
-
Source
- Documentation
- JSON
- codemeta.json
purl: pkg:golang/github.com/stonelgh/cerrors
Keywords:
error-codes
, error-context
, error-handling
, error-stacktrace
, errors
, golang
License: MIT
Latest release: about 7 years ago
First release: about 7 years ago
Namespace: github.com/stonelgh
Stars: 0 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 28 days ago