Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: How do I report an error back to the user of my object?

by bobf (Monsignor)
on Jun 06, 2012 at 15:18 UTC ( #974747=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $obj->set_err( 'Something went boom' );
    my $msg = $obj->err_str;
    my $trace = $obj->err_trace; # error msg + full stack trace
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://974747]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (9)
As of 2014-08-02 03:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Who would be the most fun to work for?















    Results (54 votes), past polls