Skip to main content

Function: CaptureError()

function CaptureError(__namedParameters): Element | null;

Defined in: components/capture.tsx:447

The failure line under a capture control.

role="alert" and not aria-live="polite": a permission refusal changes what the user has to do next, so it interrupts rather than waits its turn.

Parameters

ParameterType
__namedParameters{ error: unknown; id?: string; locale: LocaleView; }
__namedParameters.errorunknown
__namedParameters.id?string
__namedParameters.localeLocaleView

Returns

Element | null