UNPKG

@idscan/idvc2

Version:

component for the capturing documents

11 lines (10 loc) 451 B
import { CameraNotSupportedReason } from '../types/modules/camera.enum'; /** * The error object thrown when VideoRecognizer fails to open the camera feed. */ export declare class CameraError extends Error { /** The reason why opening the camera failed. */ readonly reason: CameraNotSupportedReason; constructor(reason: CameraNotSupportedReason, ...params: any[]); } export declare const CameraErrorHandler: (error: CameraError) => void;