|
NAMENet::DRI::Exception - Class to store all exceptions inside Net::DRISYNOPSISmy $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 full backtrace SUPPORTFor now, support questions should be sent to:<netdri@dotandco.com> Please also see the SUPPORT file in the distribution. SEE ALSO<http://www.dotandco.com/services/software/Net-DRI/>AUTHORPatrick Mevzek, <netdri@dotandco.com>COPYRIGHTCopyright (c) 2005,2007,2008,2009 Patrick Mevzek <netdri@dotandco.com>. All rights reserved.This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. See the LICENSE file that comes with this distribution for more details.
Visit the GSP FreeBSD Man Page Interface. |