Exception Patterns in Lua

John Belmonte <john@neggie.net>

Abstract

Users of the Lua programming language often aren't aware that it includes elements to support custom exceptions and common try/except constructs. This talk will present simple yet powerful examples of each, covering topics not addressed in Programming in Lua such as selective catching and re-raising of exceptions. It will also provide general pointers on how exceptions are best employed. Finally, some recommendations for improved exception support in Lua will be offered.