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 1 and Version 2 of HowDoesErrorHandlingWork


Ignore:
Timestamp:
02/13/06 20:03:46 (13 years ago)
Author:
simon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • HowDoesErrorHandlingWork

    v1 v2  
    3030}}} 
    3131 
    32 Of curse nothing prevents us from using an existing (exposed) method as an error handler. 
     32Of curse nothing prevents us from using an existing (exposed) method as error handler. 
    3333 
    34 foo can even be it's own error handler when ''error_handler'' is applied without any arguments: 
     34A method can even be it's own error handler when ''error_handler'' is applied without any arguments: 
    3535{{{ 
    3636@error_handler() 
     
    4141}}} 
    4242 
    43 Mind, ''tg_errors'' should be a keyword argument, when used in this manner. 
     43Mind, ''tg_errors'' should be a keyword argument, when used in this manner (since for valid input the method will not get re-called as error handler, hence ''tg_errors'' will not get passed in). 
    4444 
    45 If no appropriate error handler is defined and validation failed, ''NotImplementedError'' is raised. 
     45If no appropriate error handler is defined and validation failed, ''NotImplementedError'' exception (from standard library) is raised. 
    4646 
    4747== 1.2 Dispatch rules ==