On Sat, 8 May 2004, Lukas Smith wrote:
> I think it would be useful if require would throw an exception on failure.
NO! Internal functions do NOT throw exceptions, period.
> By throwing an exception inside require with the necessary information
> it would be able to cleanly handle this situation without having to
> silence this error and then parsing the error message. And it would
> obviously be BC compatible as uncaught exceptions are fatal.
A require should fail if it can't find the file, no nice handling as
it's CLEARLY a programmers error.
regards,
Derick