The google.appengine.api.users package provides the following exception classes:
This is the base class for all exceptions in this package.
Raised by the User constructor if no email_address is provided and the current user is not logged in.
The redirect URL given to create_login_url() or create_logout_url() exceeds the maximum allowed length for a redirect URL.