libgmail.GmailLoginFailure

Module libgmail :: Class GmailLoginFailure |
[hide private]
[frames] | no frames]

# Class GmailLoginFailure

source code

    exceptions.Exception --+
                           |
                          GmailLoginFailure

    Raised whenever the login process fails--could be wrong username/password,
    or Gmail service error, for example.
    Extract the error message like this:
    try:
        foobar
    except GmailLoginFailure,e:
        mesg = e.message# or
        print e# uses the __str__

Instance Methods | [hide private]
__init__(self, message) | source code
__str__(self) | source code
Inherited from `exceptions.Exception`: `__getitem__`

Method Details | [hide private]

### __init__(self, message) (Constructor) | source code
Overrides: exceptions.Exception.__init__

### __str__(self) (Informal representation operator) | source code
Overrides: exceptions.Exception.__str__