Package lxml :: Module etree :: Class DocumentInvalid |
[hide private]
[frames] | no frames]

# Class DocumentInvalid

                  object --+
                           |
    exceptions.BaseException --+
                               |
            exceptions.Exception --+
                                   |
                               Error --+
                                       |
                               LxmlError --+
                                           |
                                          DocumentInvalid

Validation error.

Raised by all document validators when their `assertValid(tree)` method fails.

Instance Methods | [hide private]
Inherited from `LxmlError`: `__init__` Inherited from `exceptions.Exception`: `__new__` Inherited from `exceptions.BaseException`: `__delattr__`, `__getattribute__`, `__getitem__`, `__getslice__`, `__reduce__`, `__repr__`, `__setattr__`, `__setstate__`, `__str__` Inherited from `object`: `__hash__`, `__reduce_ex__`

Properties | [hide private]
Inherited from `exceptions.BaseException`: `args`, `message` Inherited from `object`: `__class__`