How to: [⏫](#contents) :gift: Generate errors from a spec with [zederr](https://github.com/amanbolat/zederr)
This is a tool for error codes documentation and code generation. You can define all the errors in one YAML file and generate strictly typed error constructors. Error public messages are automatically localized on initialization based on the user locale. — [@amanbolat](https://github.com/amanbolat)

```
zederr gen --go-out ./out --spec zederr_spec.yaml
```

Requirements
```
go install github.com/amanbolat/zederr/cmd/zederr@latest
```