Exception MessageΒΆ
You will be able to create customs exception messages, with a few variables availables:
field
: Object and propertykey
: propertynew_value
: New value changedold_value
: Previous value
from flask_validator import ValidateEmail
validator = ValidateEmail(field, False, True, 'Message: Field {field}, Key {key}, New value {new_value}, Old value {old_value}')