On 2/10/06, Simon Belak <[EMAIL PROTECTED]> wrote:
> We could revoke implicit error handler declaration via tg_errors. But on
> the other hand it is practical and keeps boilerplate down.

On the one hand, just having @error_handler is pleasant. But, the part
that's nice about tg_errors is that you don't need to head off and
inspect cherrypy.request.validation_errors.

>
> Having tg_errors just for validation errors is not very obvious form the
> user's POV.
>
> Adding tg_exceptions is a possibility as well.

This is probably best. These could both just be shorthand for "I can
handle my own errors and exceptions, thank you very much."

Of course, you can realistically only get 1 exception. Should it be
tg_exception?

Kevin

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to