diff options
Diffstat (limited to 'lib/python2.7/site-packages/Twisted-12.2.0-py2.7-linux-x86_64.egg/twisted/cred/error.py')
-rwxr-xr-x | lib/python2.7/site-packages/Twisted-12.2.0-py2.7-linux-x86_64.egg/twisted/cred/error.py | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/lib/python2.7/site-packages/Twisted-12.2.0-py2.7-linux-x86_64.egg/twisted/cred/error.py b/lib/python2.7/site-packages/Twisted-12.2.0-py2.7-linux-x86_64.egg/twisted/cred/error.py deleted file mode 100755 index cce682b5..00000000 --- a/lib/python2.7/site-packages/Twisted-12.2.0-py2.7-linux-x86_64.egg/twisted/cred/error.py +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright (c) Twisted Matrix Laboratories. -# See LICENSE for details. - - -"""Cred errors.""" - -class Unauthorized(Exception): - """Standard unauthorized error.""" - - - -class LoginFailed(Exception): - """ - The user's request to log in failed for some reason. - """ - - - -class UnauthorizedLogin(LoginFailed, Unauthorized): - """The user was not authorized to log in. - """ - - - -class UnhandledCredentials(LoginFailed): - """A type of credentials were passed in with no knowledge of how to check - them. This is a server configuration error - it means that a protocol was - connected to a Portal without a CredentialChecker that can check all of its - potential authentication strategies. - """ - - - -class LoginDenied(LoginFailed): - """ - The realm rejected this login for some reason. - - Examples of reasons this might be raised include an avatar logging in - too frequently, a quota having been fully used, or the overall server - load being too high. - """ |