Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2017-05-28 19:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?