Package pygeodesy :: Module errors :: Class LenError |
[frames] | no frames]

# Class LenError

                  object --+
                           |
    exceptions.BaseException --+
                               |
            exceptions.Exception --+
                                   |
            exceptions.StandardError --+
                                       |
                   exceptions.ValueError --+
                                           |
                                 _ValueError --+
                                               |
                                              LenError

Error raised for mis-matching `len` values.

Instance Methods
__init__(self, where, **lens_txt) New LenError. |
Inherited from `exceptions.ValueError`: `__new__` Inherited from `exceptions.BaseException`: `__delattr__`, `__getattribute__`, `__getitem__`, `__getslice__`, `__reduce__`, `__repr__`, `__setattr__`, `__setstate__`, `__str__`, `__unicode__` Inherited from `object`: `__format__`, `__hash__`, `__reduce_ex__`, `__sizeof__`, `__subclasshook__`

Properties
Inherited from `exceptions.BaseException`: `args`, `message` Inherited from `object`: `__class__`

Method Details

### __init__ (self, where, **lens_txt) (Constructor) |
New LenError. Arguments: `where` - Object with `.__name__` attribute (`class`, `method`, or `function`). `lens_txt` - Two or more `name=len(name)` pairs (`keyword arguments`). Overrides: object.__init__