Rechercher une page de manuel
Net::DRI::Exception.3pm
Langue: en
Version: 2010-03-25 (ubuntu - 24/10/10)
Section: 3 (Bibliothèques de fonctions)
NAME
Net::DRI::Exception - Class to store all exceptions inside Net::DRISYNOPSIS
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 full backtrace
SUPPORT
For 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/>AUTHOR
Patrick Mevzek, <netdri@dotandco.com>COPYRIGHT
Copyright (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.
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre