Re: __repr__ of ValidationErrors in zope.schema

Christian Theune <[email protected]>
Newsgroups gmane.comp.web.zope.zope3
Organization gocept gmbh & co. kg
Message-ID <1187961032.21198.3.camel@mindy>
Am Freitag, den 24.08.2007, 09:05 -0400 schrieb Stephan Richter:
> On Friday 24 August 2007 04:00, Christian Zagrodnick wrote:
> > What should we do about this?
> 
> Well, I personally think for a programming API the error message is okay. The 
> __repr__ could be better though, I agree.
> 
> For forms and other UI components, this text should be at most used for a 
> default. z3c.form allows you to easily customize those error messages, for 
> example.

As long as this doesn't mean that we don't provide reasonable values in
the first place and force pretty much everybody to easily customize ...
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.