Skip to content

ReactNative SDK Reference / CameraRuntimeError

Class: CameraRuntimeError ​

Represents any kind of error that occured in the Camera View Module.

See the "Camera Errors" documentation for more information about Camera Errors.

Extends ​

Properties ​

name ​

name: string

Inherited from ​

CameraError.name


stack? ​

stack?: string

Inherited from ​

CameraError.stack


prepareStackTrace? ​

static prepareStackTrace?: (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 ​

static stackTraceLimit: number

Inherited from ​

CameraError.stackTraceLimit

Accessors ​

cause ​

get cause(): undefined | Error

Returns ​

undefined | Error


code ​

get code(): TCode

Returns ​

TCode


message ​

get message(): string

Returns ​

string

Methods ​

toString() ​

toString(): string

Returns ​

string

Inherited from ​

CameraError.toString


captureStackTrace() ​

static captureStackTrace(targetObject, constructorOpt?): void

Create .stack property on a target object

Parameters ​

• targetObject: object

• constructorOpt?: Function

Returns ​

void

Inherited from ​

CameraError.captureStackTrace