classMicrophonePermissionError:CameraError("permission","microphone-permission-denied","The Microphone permission was denied!")
classCameraPermissionError:CameraError("permission","camera-permission-denied","The Camera permission was denied!")
classInvalidTypeScriptUnionError(unionName:String,unionValue:String):CameraError("parameter","invalid-parameter","The given value for $unionName could not be parsed! (Received: $unionValue)")
classUnsupportedOSError(unionName:String,unionValue:String,supportedOnOS:String):CameraError("parameter","unsupported-os","The given value \"$unionValue\" could not be used for $unionName, as it is only available on Android $supportedOnOS and above!")
classNoCameraDeviceError:CameraError("device","no-device","No device was set! Use `getAvailableCameraDevices()` to select a suitable Camera device.")
classInvalidCameraDeviceError(cause:Throwable):CameraError("device","invalid-device","The given Camera device could not be found for use-case binding!",cause)
classFpsNotContainedInFormatError(fps:Int):CameraError("format","invalid-fps","The given FPS were not valid for the currently selected format. Make sure you select a format which `frameRateRanges` includes $fps FPS!")
classHdrNotContainedInFormatError():CameraError("format","invalid-hdr","The currently selected format does not support HDR capture! "+
"Make sure you select a format which `frameRateRanges` includes `supportsPhotoHDR`!")
classLowLightBoostNotContainedInFormatError():CameraError("format","invalid-low-light-boost","The currently selected format does not support low-light boost (night mode)! "+
"Make sure you select a format which includes `supportsLowLightBoost`.")
classCameraNotReadyError:CameraError("session","camera-not-ready","The Camera is not ready yet! Wait for the onInitialized() callback!")
classInvalidFormatError(format:Int):CameraError("capture","invalid-photo-format","The Photo has an invalid format! Expected ${ImageFormat.YUV_420_888}, actual: $format")
classCameraManagerUnavailableError:CameraError("system","no-camera-manager","The Camera manager instance was unavailable for the current Application!")
classViewNotFoundError(viewId:Int):CameraError("system","view-not-found","The given view (ID $viewId) was not found in the view manager.")
classUnknownCameraError(cause:Throwable):CameraError("unknown","unknown",cause.message?:"An unknown camera error occured.",cause)