"exaerror" lets you define errors with a uniform set of attributes. The created error objects can be used in places where strings are expected like in string concatenation.
And you can conveniently raise a Lua `error` from them.
Additionally the resulting code is made to be parseable, so that you can extract an error catalog from the code.
You can find the user guide in the projects GitHub repository.
Links:
- User guide: https://github.com/exasol/error-reporting-lua/blob/master/doc/user_guide/user_guide.md
Versions
Dependencies
lua >= 5.1, < 5.5