Package up2date_client :: Module up2dateErrors :: Class AuthenticationOrAccountCreationError
[hide private]
[frames] | no frames]

Class AuthenticationOrAccountCreationError

source code


Class that can represent different things depending on context: While logging in with an existing user it represents a username or password being incorrect. While creating a new account, it represents the username already being taken or the user not being allowed to create an account. Optimally these different things would be different exceptions, but there are single fault codes the server can return to the client that can mean more than one of them so we have no way of knowing which is actually intended.

Instance Methods [hide private]

Inherited from NoLogError: __init__, __repr__

Inherited from Error: __getattr__, __setattr__

Inherited from yum.Errors.YumBaseError: __str__, __unicode__

Inherited from exceptions.Exception: __new__

Inherited from exceptions.BaseException: __delattr__, __getattribute__, __getitem__, __getslice__, __reduce__, __setstate__

Inherited from object: __format__, __hash__, __reduce_ex__, __sizeof__, __subclasshook__

Class Variables [hide private]

Inherited from ValidationError: premsg

Properties [hide private]

Inherited from exceptions.BaseException: args, message

Inherited from object: __class__