Rose::HTML::Object::Error - Error object.
$error = Rose::HTML::Object::Error->new(id => MY_ERROR);
Rose::HTML::Object::Error objects encapsulate an error with integer id and an optional associated message object.
This class inherits from, and follows the conventions of, Rose::Object. See the Rose::Object documentation for more information.
Stringification is overloaded to the stringification of the message object. In numeric and boolean contexts, Rose::HTML::Object::Error objects always evaluate to true.
Constructs a new Rose::HTML::Object::Error object based on PARAMS name/value pairs. Any object method is a valid parameter name.
Get or set the error's integer identifier.
Get or set the Rose::HTML::Object::Message-derived message object associated with this error.
John C. Siracusa (siracusa@gmail.com)
Copyright (c) 2010 by John C. Siracusa. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Rose::HTML::Objects, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Rose::HTML::Objects
CPAN shell
perl -MCPAN -e shell install Rose::HTML::Objects
For more information on module installation, please visit the detailed CPAN module installation guide.