Alberto Valverde wrote: > > On 02/05/2006, at 19:16, jvanasco wrote: > >> i've just discovered that exception_handling only works on exposed >> methods >> >> i'm not sure if this is a feature or a bug. i'd hope a bug. > > AFAIK exception_handler only binds rules to the method it decorates > for errorhandling.try_call to catch and dispatch. > > If you need this functionallity for non exposed methods you could > write a decorator that wrapped your function so it gets called by > "try_call".
True. Historically there was just error handling so it made sense to work only with exposed methods. For First Class I am thinking of decoupling error handling from TG and make it a stand alone WSGI application/layer. Cheers, Simon --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears -~----------~----~----~----~------~----~------~--~---

