Class f.a.ValidateError(Exception):

Part of formless.annotate View Source View In Hierarchy

A Binding instance was unable to coerce all it's arguments from a dictionary of lists of strings to the appropriate types.

One use of this is to raise from an autocallable if an input is invalid. For example, a password is incorrect.

errors must be a dictionary mapping argument names to error messages to display next to the arguments on the form.

formErrorMessage is a string to display at the top of the form, not tied to any specific argument on the form.

partialForm is a dict mapping argument name to argument value, allowing you to have the form save values that were already entered in the form.
Line # Kind Name Docs
59 Method __init__ Undocumented
67 Method __str__ Undocumented
def __init__(self, errors, formErrorMessage=None, partialForm=None): (source)
Undocumented
def __str__(self): (source)
Undocumented
API Documentation for Nevow, generated by pydoctor.