in reply to Re: Getting useful information from a thrown error
in thread Getting useful information from a thrown error

The throw I'm using causes an exception; so typically you use it in code like this:

try { something_that_might_blow_up(); } catch { /POSSIBLE_ERROR/ && print "FATAL:A bad thing happened\n"; };
The module Try::Tiny is where this comes from.

Alex / talexb / Toronto

Thanks PJ. We owe you so much. Groklaw -- RIP -- 2003 to 2013.

Replies are listed 'Best First'.
Re^3: Getting useful information from a thrown error
by Anonymous Monk on Aug 24, 2022 at 08:55 UTC