formular.exceptions - Exceptions

The exceptions used by this library.

exception ValidationError

Represents none, one or more errors which occured during validation of a formular.fields.Field instance.

unpack(parent=None)
Returns the errors as a dictionary.
exception MultipleValidationErrors(errors=None)

Represents none, one or more errors which occured during validation of a formular.fields.Field instance and it’s children.

unpack(parent=None)
Returns the errors as a flat dictionary.

Previous topic

formular.widgets - (X)HTML Widgets

Next topic

formular.datastructures - Datastructures

This Page