|
> Of course the best thing is to use pcall, as Luiz said. With C++, I > installed a panic function that throws an exception instead of calling > exit(). But panic functions are for exactly that: panic. They should not be used for ordinary flow control.