fat_error

Replace error messages with error objects that store metadata.

$ luarocks install fat_error

Errors can be chained e.g. for propagating out of a coroutine,
so you can print the error chain in a consistent manner.
Furthermore one can print the error to multiple destinations: A colored version
for the terminal, a colorless version for the log file, or even aggregate it in
a database for later processing/analysis.

Versions

0.6-08 years ago83 downloads
0.5-18 years ago3,872 downloads
0.4-18 years ago3,885 downloads
0.3-18 years ago4,208 downloads
0.2-18 years ago4,205 downloads

Dependencies

lua >= 5.2, < 5.4

Manifests