classMicrophonePermissionError:CameraError("permission","microphone-permission-denied","The Microphone permission was denied! If you want to record Video without sound, pass `audio={false}`.")
classInvalidTypeScriptUnionError(unionName:String,unionValue:String):CameraError("parameter","invalid-parameter","The given value for $unionName could not be parsed! (Received: $unionValue)")
classNoFlashAvailableError:CameraError("device","flash-unavailable","The Camera Device does not have a flash unit! Make sure you select a device where `hasFlash`/`hasTorch` is true!")
classPixelFormatNotSupportedError(format:String):CameraError("device","pixel-format-not-supported","The pixelFormat $format is not supported on the given Camera Device!")
classCameraCannotBeOpenedError(cameraId:String,error:CameraDeviceError):CameraError("session","camera-cannot-be-opened","The given Camera device (id: $cameraId) could not be opened! Error: $error")
classCameraSessionCannotBeConfiguredError(cameraId:String,outputs:CameraOutputs):CameraError("session","cannot-create-session","Failed to create a Camera Session for Camera $cameraId! Outputs: $outputs")
classCameraDisconnectedError(cameraId:String,error:CameraDeviceError):CameraError("session","camera-has-been-disconnected","The given Camera device (id: $cameraId) has been disconnected! Error: $error")
classCaptureAbortedError(wasImageCaptured:Boolean):CameraError("capture","aborted","The image capture was aborted! Was Image captured: $wasImageCaptured")
classUnknownCaptureError(wasImageCaptured:Boolean):CameraError("capture","unknown","An unknown error occurred while trying to capture an Image! Was Image captured: $wasImageCaptured")
classNoRecordingInProgressError:CameraError("capture","no-recording-in-progress","There was no active video recording in progress! Did you call stopRecording() twice?")
classRecordingInProgressError:CameraError("capture","recording-in-progress","There is already an active video recording in progress! Did you call startRecording() twice?")