Package openid :: Package server :: Module server :: Class MalformedReturnURL
[frames] | no frames]

Class MalformedReturnURL

source code

              object --+            
exceptions.BaseException --+        
        exceptions.Exception --+    
                   ProtocolError --+

The return_to URL doesn't look like a valid URL.

Instance Methods
__init__(self, openid_message, return_to)
When an error occurs.
source code

Inherited from ProtocolError: encodeToKVForm, encodeToURL, getReturnTo, hasReturnTo, toFormMarkup, toHTML, toMessage, whichEncoding

Inherited from exceptions.Exception: __new__

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

Inherited from object: __hash__, __reduce_ex__

Instance Variables

Inherited from ProtocolError: message


Inherited from exceptions.BaseException: args

Inherited from object: __class__

Method Details

__init__(self, openid_message, return_to)

source code 

When an error occurs.

  • message - The message that is failing to be a valid OpenID request.
  • text - A message about the encountered error. Set as args[0].
Overrides: object.__init__
(inherited documentation)