On Tue, Apr 21, 2009 at 7:14 AM, mog <[email protected]> wrote:
>
> Hi guys, I was hoping someone might be able to help me with something
> please...
>
> I'm trying to understand how Trac's error handling works. I notice there
> is a TracError class, which talks about genshi.builder.tag objects; plus
> I know from experience that somehow when Trac encounters an error, it
> will render an error page (I presume somehow using genshi). What I'm not
> really sure about though, is how it does this? How is it able to render
> a genshi template from an Exception without some method of the Exception
> being called?
>
> Also, Trac uses Exceptions within its code, I've managed to find where
> the HTTPException is defined, but I've not been able to find any others
> that might give me clues in figuring it out.
>
> Any help or advice would be very much appreciated. Thank you in advance
> for your time and consideration.
>
> Kind regards.

You want to take a look at trac.web.main.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Development" 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/trac-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to