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
| Parameter | Type |
|---|---|
__namedParameters | { error: unknown; id?: string; locale: LocaleView; } |
__namedParameters.error | unknown |
__namedParameters.id? | string |
__namedParameters.locale | LocaleView |
Returns
Element | null