Runs a callback when a site visitor is not able to successfully submit a Wix Form to the server.
If a Wix Form has not been successfully submitted by the site visitor, the received SubmissionError
object contains error information about why the Wix Form could not be submitted.
Error Codes and descriptions
callback(error: SubmissionError): void
Callback for the failed form submission.
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.