Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Exception Classes Advice on Subclasses

by jffry (Hermit)
on Dec 21, 2005 at 03:44 UTC ( #518228=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    MyExceptions::SomeThingy
    MyExceptions::SomeThingy::SomeSpecificError
    MyExceptions::SomeThingy::AnotherProblem
    MyExceptions::SomeThingy::DontDoThat
    
  2. or download this
    MyException::SomeThingy' => {
            isa         => 'MyException',
            description => 'Bad things happen here.',
            fields      => [ 'descriptor', 'value' ],
    };
    
  3. or download this
    MyException::SomeThingy->throw(
                'error'      => 'You did something I didnt like.',
                'descriptor' => 'DontDoThat',
                'value'   => $bad_variable,
    );
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://518228]
Approved by Tanktalus
Front-paged by Tanktalus
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2016-09-28 05:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (519 votes). Check out past polls.