Package expedient :: Package common :: Package permissions :: Module exceptions
[hide private]
[frames] | no frames]

Module exceptions

source code

Created on May 31, 2010


Author: jnaous

Classes [hide private]
  PermissionException
Base class for all exceptions from the permissions application.
  UnexpectedParameterType
Raised when a function receives an unexpected parameter type.
  PermitteeNotInThreadLocals
Raised when the permittee was not parsed and stored in thread local storage.
  NonePermitteeException
Raised when the permittee is None.
  PermissionRegistrationConflict
Raised when a permission is registered with two different views.
  PermissionDenied
Raised when a permission is denied/not found.
  PermissionSignatureError
Raised when a function decorated with one of the require_* decorators does not have the right arguments for the call.
  PermissionDecoratorUsageError
Raised when the decorators are misused.
  PermissionDoesNotExist
Raised when a permission with a given name does not exist.
  PermissionCannotBeDelegated
Raised when a permittee tries to give permission to another when the permission cannot be delegated.
Variables [hide private]
  __package__ = 'expedient.common.permissions'