See Diegos solution in LuaSocket. He uses a "try", it is rather elegant. Coroutines also provide a good exception handling mechanism . On 2/6/06, Mildred <ml.mildred593@online.fr> wrote: > So, is there a better solution ?