NAME

WWW::Yahoo::Groups::Errors - Exception classes for WYG

DESCRIPTION

This class provides assorted exceptions for the use of the other modules.

INHERITANCE

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.

EXTRA METHODS

Beyond what Exception::Class provides, there are two extra methods.

fatal

fatal will return true if the error caught should be one that terminates the process.

AVAILABLE CLASSES

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

USE OF THIS MODULE

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()
    );

BUGS, THANKS, LICENCE, etc.

See WWW::Yahoo::Groups

AUTHOR

Iain Truskett <spoon@cpan.org>