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.

Hierarchy (view full)

Constructors

Properties

name: string
stack?: string
prepareStackTrace?: ((err, stackTraces) => any)

Optional override for formatting stack traces

Type declaration

    • (err, stackTraces): any
    • Parameters

      Returns any

stackTraceLimit: number

Accessors

  • get cause(): undefined | Error
  • Returns undefined | Error

  • get code(): TCode
  • Returns TCode

  • get message(): string
  • Returns string

Methods

  • Returns string

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void