https://github.com/ngerakines/codederror
https://github.com/ngerakines/codederror
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ngerakines/codederror
- Owner: ngerakines
- Created: 2013-11-19T01:20:05.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-05-14T21:48:15.000Z (almost 11 years ago)
- Last Synced: 2025-01-03T23:22:17.875Z (4 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)
// ...
}
```