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-07 years ago82 downloads
0.5-17 years ago2,817 downloads
0.4-17 years ago2,818 downloads
0.3-18 years ago3,280 downloads
0.2-18 years ago3,281 downloads

Dependencies

lua >= 5.2, < 5.4

Manifests