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

# Class LenError

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

Error raised for mis-matching `len` values.

Instance Methods
__init__(self, where, **lens) 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) (Constructor) |
New LenError. Arguments: `where` - Object with `.__name__` attribute (`class`, `method`, or `function`). `lens` - Two or more `name=len(name)` pairs (`keyword arguments`). Overrides: object.__init__