lua-users home
lua-l archive

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


It was thus said that the Great Milind Gupta once stated:
> 
> Now when I do require("moduleX.test") it is successfully able to load that
> module. But if I do require("moduleX.tst") I see no error message returned
> by my searcher. Can anybody please help me figure out what am I doing wrong
> here.

  Your function needs to return either a function OR a string describing the
error.  You're returning nil and the string, which isn't correct.

  -spc