Module mspace :: Class UnindexableObjectError
[hide private]
[frames] | no frames]

Class UnindexableObjectError

source code

              object --+        
                       |        
exceptions.BaseException --+    
                           |    
        exceptions.Exception --+
                               |
                              UnindexableObjectError

This Exception is thrown when the call to the distance function in use by a metric space throws an exception. This should not happen during regular usage and is a hint that either your distance function is buggy or you tried to index objects which your distance function cannot handle.
Instance Methods [hide private]
 
__init__(self, msg, e)
x.__init__(...) initializes x; see help(type(x)) for signature
source code

Inherited from exceptions.Exception: __new__

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

Inherited from object: __format__, __hash__, __reduce_ex__, __sizeof__, __subclasshook__

Class Variables [hide private]
  orig_exception = None
The exception that has triggered this exception.
Properties [hide private]

Inherited from exceptions.BaseException: args, message

Inherited from object: __class__

Method Details [hide private]

__init__(self, msg, e)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)