On Sat, Oct 28, 2006 at 01:00:45AM +0400, Sergey Chernov (m) wrote:
>
> How should I report captcha's bad input? Didn't get proper style yet. Is
> there any sample of user errors reporting?
Check out how the SpamFilter plugin does it, but basically just throw a
TracError:
raise TracError('Captcha validation failed')
Or better yet, subclass TracError and throw the subclass.
--
Evolution: Taking care of those too stupid to take care of themselves.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---