# @ohos.application.formError (formError) (System API)
The **formError** module provides error codes for widgets.
> **NOTE**
>
> 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.
> This module is deprecated since API version 9. You are advised to use [Form Error Codes](errorcode-form.md) instead.
> 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).
## Modules to Import
```ts
import { formError } from '@kit.FormKit'
```
## Required Permissions
None.
## FormError
Enumerates the widget types.
**System capability**: SystemCapability.Ability.Form
| Name | Value | Description |
| ----------- | ---- | ------------ |
| ERR_DISTRIBUTED_SCHEDULE_FAILED9+ | 37 | The distributed scheduler failed.
**System API**: This is a system API. |