Re: require flow and relation between package.searchers and package.searchpath
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: require flow and relation between package.searchers and package.searchpath
- From: Sean Conner <sean@...>
- Date: 2015年8月10日 17:33:16 -0400
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