FormValidationException
Deprecated
Please migrate to the new form implementation. This legacy code will be removed in a future version.
Exception used for handling validation errors during the submission process.
This exception is useful when the validation logic is on the API side and validation errors can be detected from the response's status code. By passing a mapping of field names to error messages in errors, you can identify the fields where errors occurred.