Error::Hierarchy::Base - Base class for hierarchical exception classes
version 1.103530
This class is internal, so you're not supposed to use it.
my $obj = Error::Hierarchy::Base->new; my $obj = Error::Hierarchy::Base->new(%args);
Creates and returns a new object. The constructor will accept as arguments a list of pairs, from component name to initial value. For each pair, the named component is initialized by calling the method of the same name with the given value. If called with a single hash reference, it is dereferenced and its key/value pairs are set as described before.
This class overloads "" to call this method. It defines how an exception should look like if it is used in a string. In this class this method returns an undefined value, so subclasses should override it. For example, Error::Hierarchy does so.
""
Dumps the exception using Data::Dumper.
Data::Dumper
Dumps the exception using YAML.
YAML
See perlmodinstall for information and options on installing Perl modules.
No bugs have been reported.
Please report any bugs or feature requests through the web interface at http://rt.cpan.org/Public/Dist/Display.html?Name=Error-Hierarchy.
The latest version of this module is available from the Comprehensive Perl Archive Network (CPAN). Visit http://www.perl.com/CPAN/ to find a CPAN site near you, or see http://search.cpan.org/dist/Error-Hierarchy/.
The development version lives at http://github.com/hanekomu/Error-Hierarchy and may be cloned from git://github.com/hanekomu/Error-Hierarchy. Instead of sending patches, please fork this project using the standard git and github infrastructure.
Marcel Gruenauer <marcel@cpan.org>
This software is copyright (c) 2004 by Marcel Gruenauer.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Error::Hierarchy, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Error::Hierarchy
CPAN shell
perl -MCPAN -e shell install Error::Hierarchy
For more information on module installation, please visit the detailed CPAN module installation guide.