Preparing search index...
The search index is not available
govuk-frontend
govuk-frontend
OnErrorCallback
Type Alias OnErrorCallback<ComponentClass>
On
Error
Callback
<
ComponentClass
>
:
(
(
error
:
unknown
,
context
:
ErrorContext
<
ComponentClass
>
)
=>
any
)
Type Parameters
ComponentClass
extends
CompatibleClass
Type declaration
(
error
,
context
)
:
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