Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ngerakines/codederror
https://github.com/ngerakines/codederror
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/ngerakines/codederror
- Owner: ngerakines
- Created: 2013-11-19T01:20:05.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2014-05-14T21:48:15.000Z (over 10 years ago)
- Last Synced: 2024-05-01T13:43:23.001Z (8 months ago)
- Language: Go
- Size: 148 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# codederror
A small utility that provdes a way to encode errors with namespaces and integers.
## Usage
```go
import "github.com/ngerakines/codederror"func awesome() string, err {
// ...
return nil, NewCodedError([]string{""}, 24)
// ...
}
```