1# @ohos.application.formError (formError) (System API)
2
3The **formError** module provides error codes for widgets.
4
5> **NOTE**
6>
7> 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.
8> This module is deprecated since API version 9. You are advised to use [Form Error Codes](errorcode-form.md) instead.
9> 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).
10
11## Modules to Import
12
13```ts
14import { formError } from '@kit.FormKit'
15```
16
17## Required Permissions
18
19None.
20
21## FormError
22
23Enumerates the widget types.
24
25**System capability**: SystemCapability.Ability.Form
26
27| Name       | Value  | Description        |
28| ----------- | ---- | ------------ |
29| ERR_DISTRIBUTED_SCHEDULE_FAILED<sup>9+</sup> | 37 | The distributed scheduler failed.<br>**System API**: This is a system API. |
30