[Rest2web-develop] ValidateParamError
Brought to you by:
mjfoord
|
From: Michael F. <mi...@pc...> - 2005-08-23 11:51:20
|
Hello Nicola,
Note the following issue with ``ValidateParamError`` in validate.py :
Because ``ValidateParamError`` is a subclass of ``ValidateError``,
it will
always be trapped by ConfigObj as a failed check. Should we get
ConfigObj to
propagate this error ? (as it is a programmer error and not a failed
check)
The easiest way to get round it is to either create a new error class
that isn't a subclass of ``ValidateError`` - or use a built in Exception.
By the way - thanks for your work on the docs.
Best Regards,
Fuzzyman
|