> I've found two different examples(see below), but both don't display my given
> exception message. The only thing i get is the standard error message.
What do you mean by standard error message?
> Second example
> (taken from:
> http://blog.gocept.com/zope3-testen-von-felderuebergreifenden-bed
On Monday 13 August 2007 05:37, [EMAIL PROTECTED] wrote:
> Since this is my first experience with zope, could someone explain to me
> the correct way to get a custom error message with invariants?
I am not sure how or whether formlib does it these days, but raising
Invalid('string') should work.
Am Montag, 13. August 2007 12:01 schrieb Darryl Cousins:
> Hi,
>
> This was answered recently me thinks.
>
> http://mail.zope.org/pipermail/zope3-users/2007-August/006648.html
I think this covers a z3c.form-related issue, but not formlib...
Best Regards,
Hermann
--
[EMAIL PROTECTED]
GPG key ID:
Hi,
This was answered recently me thinks.
http://mail.zope.org/pipermail/zope3-users/2007-August/006648.html
Regards,
Darryl
On Mon, 2007-08-13 at 11:37 +0200, [EMAIL PROTECTED] wrote:
> Hello, I'm using an invariant to check if given passwords are equal.
>
> I've found two different examples(
Hello, I'm using an invariant to check if given passwords are equal.
I've found two different examples(see below), but both don't display my given
exception message. The only thing i get is the standard error message.
Since this is my first experience with zope, could someone explain to me the