Implementation of scriptError event. The event is triggered when a script execution or compilation fails.
This event is always triggered regardless of error logging settings, allowing third-party tools to capture form errors.
ActionImpl
↳ ScriptError
• new ScriptError(payload, dispatch?)
| Name | Type | Default value |
|---|---|---|
payload |
ScriptErrorPayload |
undefined |
dispatch |
boolean |
false |
ActionImpl.constructor
• get currentTarget(): FormModel | FieldModel | FieldsetModel
FormModel | FieldModel | FieldsetModel
ActionImpl.currentTarget
• get isCustomEvent(): boolean
boolean
ActionImpl.isCustomEvent
• get metadata(): any
any
ActionImpl.metadata
• get payload(): any
any
ActionImpl.payload
• get target(): FormModel | FieldModel | FieldsetModel
FormModel | FieldModel | FieldsetModel
ActionImpl.target
• get type(): string
string
ActionImpl.type
▸ toJson(): Object
Object
| Name | Type |
|---|---|
isCustomEvent |
boolean |
payload |
any |
type |
string |
ActionImpl.toJson
▸ toString(): string
string
ActionImpl.toString