Package turbogears :: Package identity :: Module exceptions

Module exceptions

source code

Identity management exceptions.

Classes
  IdentityException
Base class for all Identity exceptions.
  RequestRequiredException
No request present.
  IdentityManagementNotEnabledException
User forgot to enable Identity management.
  IdentityConfigurationException
Incorrect configuration.
  IdentityFailure
Identity failure.
Functions
 
set_identity_errors(errors)
Save the identity errors in the CherryPy request and WSGI environment.
source code
 
get_identity_errors()
Get the identity errors from the CherryPy request or WSGI environment.
source code
 
get_failure_url(errors=None)
Get the identity failure URL from the configuration setting.
source code