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


WWW-Yahoo-Groups documentation  | view source Contained in the WWW-Yahoo-Groups distribution.

Index


NAME

Top

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

DESCRIPTION

Top

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

INHERITANCE

Top

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

Top

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

Top

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

Top

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.

Top

See WWW::Yahoo::Groups

AUTHOR

Top

Iain Truskett <spoon@cpan.org>


WWW-Yahoo-Groups documentation  | view source Contained in the WWW-Yahoo-Groups distribution.