$ luarocks install --server=https://luarocks.org/dev goodcall
goodcall is a small library that provides some tools for catching and
rethrowing Lua errors. It supports yielding from protected functions even on
Lua 5.1. The main functions are `goodcall.try_except_else_finally`,
simulating Python's try statement, and `goodcall.rethrow` for rethrowing
errors without losing original stack tracebacks.
Versions
Dependencies
lua >= 5.1, < 5.4