| WWW-Yahoo-Groups documentation | view source | Contained in the WWW-Yahoo-Groups distribution. |
WWW::Yahoo::Groups::Errors - Exception classes for WYG
This class provides assorted exceptions for the use of the other modules.
All errors are subclasses of X::WWW::Yahoo::Groups which is a
subclass of Exception::Class::Bass. See Exception::Class's
documentation for methods available on the errors.
Beyond what Exception::Class provides, there are two extra methods.
fatal will return true if the error caught should be one that
terminates the process.
These should be obvious from their name. If not, please consult the
source or use the description method.
X::WWW::Yahoo::Groups::BadParam
X::WWW::Yahoo::Groups::BadLogin
X::WWW::Yahoo::Groups::NoHere
X::WWW::Yahoo::Groups::AlreadyLoggedIn
X::WWW::Yahoo::Groups::NotLoggedIn
X::WWW::Yahoo::Groups::NoListSet
X::WWW::Yahoo::Groups::UnexpectedPage
X::WWW::Yahoo::Groups::NotThere
X::WWW::Yahoo::Groups::BadFetch
X::WWW::Yahoo::Groups::BadProtected
Due to the nature of how Params::Validate works, we store common options for it in this class (as they mostly relate to error handling). Thus, you should import this module with the following idiom:
require WWW::Yahoo::Groups::Errors;
Params::Validate::validation_options(
WWW::Yahoo::Groups::Errors->import()
);
Iain Truskett <spoon@cpan.org>
| WWW-Yahoo-Groups documentation | view source | Contained in the WWW-Yahoo-Groups distribution. |