goodcall

Error catching and rethrowing utilities for Lua

$ 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

scm-1dev4 years ago1 download

Dependencies

lua >= 5.1, < 5.4

Manifests