class ValidationError(Exception):
Method | __eq__ |
Undocumented |
Method | __hash__ |
Undocumented |
Method | __init__ |
No summary |
Method | __iter__ |
Undocumented |
Method | __repr__ |
Undocumented |
Method | __str__ |
Undocumented |
Method | update_error_dict |
Undocumented |
Instance Variable | error_dict |
Undocumented |
Property | message_dict |
Undocumented |
Property | messages |
Undocumented |
message
argument can be a single error, a list of errors, or a
dictionary that maps field names to lists of errors. What we define as
an "error" can be either a simple string or an instance of
ValidationError with its message attribute set, and what we define as
list or dictionary can be an actual list
or dict
or an instance
of ValidationError with its error_list
or error_dict
attribute set.