lua-coxpcall

encapsulate protected Lua calls with a coroutine based loop

WWW CVSWeb GITHub
  1. Package version
    lua-coxpcall-1.13.0p4
  2. Maintainer
    The OpenBSD ports mailing-list

Coxpcall encapsulates the protected calls with a coroutine based loop,
so errors can be handled without the usual pcall/xpcall issues with
coroutines.

Using Coxpcall usually consists in simply loading the module and then
replacing Lua pcall and xpcall by copcall and coxpcall.

  • lua52
  • lua53

  • lang/lua/5.1