Preparing search index...
The search index is not available
govuk-frontend
govuk-frontend
OnErrorCallback
Type Alias OnErrorCallback<ComponentClass>
OnErrorCallback
:
(
error
:
unknown
,
context
:
ErrorContext
<
ComponentClass
>
)
=>
any
Type Parameters
ComponentClass
extends
CompatibleClass
Type declaration
(
error
:
unknown
,
context
:
ErrorContext
<
ComponentClass
>
)
:
any
Parameters
error
:
unknown
Thrown error
context
:
ErrorContext
<
ComponentClass
>
Object containing the element, component class and configuration
Returns
any
Settings
Member Visibility
Protected
Private
Inherited
Theme
OS
Light
Dark
govuk-frontend
Loading...
Thrown error