Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
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 exploiting the Monastery: (5)
As of 2014-07-26 02:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (175 votes), past polls