LuaRocks.org had a security incident in September 2026. Read the incident report.

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 ago97 downloads
0.5-19 years ago6,003 downloads
0.4-19 years ago5,910 downloads
0.3-19 years ago6,276 downloads
0.2-19 years ago6,251 downloads

Dependencies

lua >= 5.2, < 5.4

Manifests