Skip to main content

Function: describeCaptureError()

function describeCaptureError(error, locale): string | null;

Defined in: components/capture.tsx:74

One localized sentence for a capture failure, or null when there is nothing to say (the user cancelled, or the field unmounted mid-capture).

Parameters

ParameterType
errorunknown
localeLocaleView

Returns

string | null