Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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 meditating upon the Monastery: (6)
As of 2016-06-25 06:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (323 votes). Check out past polls.