Re: __repr__ of ValidationErrors in zope.schema
Stephan Richter <[email protected]>
| Newsgroups | gmane.comp.web.zope.zope3 |
|---|---|
| Message-ID | <[email protected]> |
On Friday 24 August 2007 09:52, Jim Fulton wrote: > > What should we do about this? > > While better __str__s or __reprs__ is often nice, as a general > principal, errors should be displayed through adaptation -- basically > views. They are, but the text is used by the views to show the error. This makes people be lazy and not create custom error views for each error. I will take some time in the next days creating nicer error views for the zope.schema exceptions in z3c.form. Regards, Stephan -- Stephan Richter CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k - Web Software Design, Development and Training