Skip to content

Errors

ErrorImport pathWhen it appears
EngineErrormlform/engineBase class for engine failures.
RegistryErrormlform/engineDuplicate registration or missing registry contract.
ValidationErrormlform/enginesubmit() was blocked by validation. Includes result.
SubmitErrormlform/engineTransport or response processing failed. Includes cause.
SubmissionAbortedErrormlform/enginePending submit was aborted.
try {
await mounted.form.submit();
} catch (error) {
if (error instanceof ValidationError) {
console.log(error.result.fields);
}
}

Related: Error Handling.