Package pythonutils :: Module validate :: Class ValidateError
[hide private]
[frames] | no frames]

Class ValidateError
source code

exceptions.Exception --+
                       |
                      ValidateError
Known Subclasses:
VdtMissingValue, VdtTypeError, VdtUnknownCheckError, VdtValueError

This error indicates that the check failed. It can be the base class for more specific errors.

Any check function that fails ought to raise this error. (or a subclass)

>>> raise ValidateError
Traceback (most recent call last):
ValidateError


Instance Methods [hide private]

Inherited from exceptions.Exception: __getitem__, __init__, __str__