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:
The module Try::Tiny is where this comes from.try { something_that_might_blow_up(); } catch { /POSSIBLE_ERROR/ && print "FATAL:A bad thing happened\n"; };
|
|---|
| 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 |