Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Changes between Version 7 and Version 8 of HowDoesErrorHandlingWork


Ignore:
Timestamp:
02/22/06 14:53:33 (9 years ago)
Author:
simon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • HowDoesErrorHandlingWork

    v7 v8  
    6969If validation fails for an input, said input also does not get to be converted to designated Python type, which could be rather inconvenient. A fail-safe mechanism is provided for such cases. Decorator ''validate'' can take two additional keyword arguments ''failsafe_scheme'' and ''failsafe_values'' to fine-tune how to failed inputs are handled.  
    7070 
    71 Predefined schemes (in turbogears/errorhandling.py): 
     71Predefined schemas (see turbogears/errorhandling.py): 
    7272 
    7373* ''FailsafeSchema.none'': Default. No conversions are preformed, input remains as is: