Net::DRI::ExceptionNet::DRI::Exception is a Perl class to store all exceptions inside Net::DRI. | |
Download |
Net::DRI::Exception Ranking & Summary
Advertisement
- License:
- GPL
- Price:
- FREE
- Publisher Name:
- Patrick Mevzek
- Publisher web site:
- http://search.cpan.org/~pmevzek/Net-DRI-0.80/lib/Net/DRI/Exception.pm
Net::DRI::Exception Tags
Net::DRI::Exception Description
Net::DRI::Exception is a Perl class to store all exceptions inside Net::DRI. Net::DRI::Exception is a Perl class to store all exceptions inside Net::DRI.SYNOPSIS my $s=Net::DRI::Exception->new(0,'area',500,'message'); die($s); ## OR Net::DRI::Exception->die(0,'area',500,'message'); $s->is_error(); ## gives 0 or 1, first argument of new/die ## (internal error that should not happen are 1, others are 0) $s->area(); ## gives back the area (second argument of new/die) $s->code(); ## gives back the code (third argument of new/die) $s->msg(); ## gives back the message (fourth argument of new/die) $s->as_string(); ## gives back a nicely formatted complete backtrace Requirements: · Perl
Net::DRI::Exception Related Software