dmc-error is a module which handles raising and capturing custom errors via try/catch/finally syntax. It is somewhat modeled after the Python implementation.

dmc-error is simply a front-end for lua-error. For more information visit lua-error.


The unit tests in lua-error give an indication of how to use the library. There are also examples of usage throughout the dmc-corona-library: dmc-wamp, dmc-websockets, etc.




This module can be freely downloaded from github.com

Simply click on the image to the right