1e41f4b71Sopenharmony_ci# @ohos.application.formError (formError) (System API)
2e41f4b71Sopenharmony_ci
3e41f4b71Sopenharmony_ciThe **formError** module provides error codes for widgets.
4e41f4b71Sopenharmony_ci
5e41f4b71Sopenharmony_ci> **NOTE**
6e41f4b71Sopenharmony_ci>
7e41f4b71Sopenharmony_ci> The initial APIs of this module are supported since API version 8. Newly added APIs will be marked with a superscript to indicate their earliest API version.
8e41f4b71Sopenharmony_ci> This module is deprecated since API version 9. You are advised to use [Form Error Codes](errorcode-form.md) instead.
9e41f4b71Sopenharmony_ci> This topic describes only system APIs provided by the module. For details about its public APIs, see [@ohos.application.formError (FormError)](js-apis-application-formError.md).
10e41f4b71Sopenharmony_ci
11e41f4b71Sopenharmony_ci## Modules to Import
12e41f4b71Sopenharmony_ci
13e41f4b71Sopenharmony_ci```ts
14e41f4b71Sopenharmony_ciimport { formError } from '@kit.FormKit'
15e41f4b71Sopenharmony_ci```
16e41f4b71Sopenharmony_ci
17e41f4b71Sopenharmony_ci## Required Permissions
18e41f4b71Sopenharmony_ci
19e41f4b71Sopenharmony_ciNone.
20e41f4b71Sopenharmony_ci
21e41f4b71Sopenharmony_ci## FormError
22e41f4b71Sopenharmony_ci
23e41f4b71Sopenharmony_ciEnumerates the widget types.
24e41f4b71Sopenharmony_ci
25e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Ability.Form
26e41f4b71Sopenharmony_ci
27e41f4b71Sopenharmony_ci| Name       | Value  | Description        |
28e41f4b71Sopenharmony_ci| ----------- | ---- | ------------ |
29e41f4b71Sopenharmony_ci| ERR_DISTRIBUTED_SCHEDULE_FAILED<sup>9+</sup> | 37 | The distributed scheduler failed.<br>**System API**: This is a system API. |
30