• Announcement: Lua.org now officially recommends this forum as a meeting place for the Lua community

error-handling

  1. H

    I wanna handle errors, but a program I'm using makes it difficult for me

    Hello, I'm using Warcraft 3 and I wanna handle better the errors, because it don't have its own event log I wanna create it myself to improve its debugging, but I have problems: It doesn't print the errors or warns unless you use "xpcall(func, print)", I can do that but it will make the errors...
  2. redcatbear

    Unified error reporting

    If you ever thought, "wouldn't it be nice of all error messages in our applications would have a common style and were easy to search", then you might be interested in checking out the "exaerror" Lua rock. In a Nutshell Define an error object: local errobj = exaerror.create("E-IO-13", "Need...
Top