Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/wavesoftware/go-retcode

Deterministic process exit codes
https://github.com/wavesoftware/go-retcode

Last synced: about 12 hours ago
JSON representation

Deterministic process exit codes

Awesome Lists containing this project

README

        

# retcode package for Go

Deterministic process exit codes based on Go errors.

## Usage

```go
err := fmt.Errorf("example error")
os.Exit(retcode.Calc(err))
```