lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

If I do something like:
pcall(require, 'foo')
where foo is a module that just throws an error, the pcall catches the
error as expected, but the second attempt just throws: "loop or
previous error loading module 'foo'". How can I see what the previous
error was? I see now holds a userdata, but I don't
know what I can do with it.

Sent from my toaster.