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

Class VdtValueError
source code

exceptions.Exception --+    
                       |    
           ValidateError --+
                           |
                          VdtValueError
Known Subclasses:
VdtValueTooBigError, VdtValueTooLongError, VdtValueTooShortError, VdtValueTooSmallError

The value supplied was of the correct type, but was not an allowed value.

Instance Methods [hide private]
  __init__(self, value)

Inherited from exceptions.Exception: __getitem__, __str__


Method Details [hide private]

__init__(self, value)
(Constructor)

source code 
>>> raise VdtValueError('jedi')
Traceback (most recent call last):
VdtValueError: the value "jedi" is unacceptable.
Overrides: exceptions.Exception.__init__