Adam D. Ruppe:
int handleError(void delegate() dg) { try dg(); catch(Throwable t) return 1;
Is it possible to use a lazy argument there? And isn't it better to catch Exception only?
Bye, bearophile
Adam D. Ruppe:
int handleError(void delegate() dg) { try dg(); catch(Throwable t) return 1;
Is it possible to use a lazy argument there? And isn't it better to catch Exception only?
Bye, bearophile