https://github.com/martinohmann/exit
Wraps errors with exit code information and conversely produces meaningful exit codes based on errors.
https://github.com/martinohmann/exit
errors exit golang
Last synced: 10 months ago
JSON representation
Wraps errors with exit code information and conversely produces meaningful exit codes based on errors.
- Host: GitHub
- URL: https://github.com/martinohmann/exit
- Owner: martinohmann
- License: mit
- Created: 2021-02-27T12:00:06.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-03-26T19:19:01.000Z (over 5 years ago)
- Last Synced: 2025-02-01T02:43:04.984Z (over 1 year ago)
- Topics: errors, exit, golang
- Language: Go
- Homepage:
- Size: 27.3 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# exit
[](https://github.com/martinohmann/exit/actions?query=workflow%3Abuild)
[](https://codecov.io/gh/martinohmann/exit)
[](https://goreportcard.com/report/github.com/martinohmann/exit)
[](https://pkg.go.dev/github.com/martinohmann/exit)

Wraps errors with exit code information and conversely produces meaningful exit
codes based on errors.
See the [package
documentation](https://pkg.go.dev/github.com/martinohmann/exit) for usage
examples.
## Installation
```
go get -u github.com/martinohmann/exit
```
## License
The source code of exit is released under the MIT License. See the bundled
LICENSE file for details.