ReactNative SDK Reference / CameraCaptureError
Class: CameraCaptureError
Represents any kind of error that occured while trying to capture a video or photo.
See the "Camera Errors" documentation for more information about Camera Errors.
Extends
CameraError<CaptureError>
Properties
name
name:
string
Inherited from
CameraError.name
stack?
stack?:
string
Inherited from
CameraError.stack
prepareStackTrace?
staticprepareStackTrace?: (err,stackTraces) =>any
Optional override for formatting stack traces
See
https://v8.dev/docs/stack-trace-api#customizing-stack-traces
Parameters
• err: Error
• stackTraces: CallSite[]
Returns
any
Inherited from
CameraError.prepareStackTrace
stackTraceLimit
staticstackTraceLimit:number
Inherited from
CameraError.stackTraceLimit
Accessors
cause
getcause():undefined|Error
Returns
undefined | Error
code
getcode():TCode
Returns
TCode
message
getmessage():string
Returns
string
Methods
toString()
toString():
string
Returns
string
Inherited from
CameraError.toString
captureStackTrace()
staticcaptureStackTrace(targetObject,constructorOpt?):void
Create .stack property on a target object
Parameters
• targetObject: object
• constructorOpt?: Function
Returns
void
Inherited from
CameraError.captureStackTrace