Error type used for all interactions with this module.

The code indicates the error type and may be suitable for providing translated error messages.

The message is the underlying message text and will usually be in English.

Hierarchy

  • Error
    • DeviceError

Constructors

Properties

message: string
name: string
stack?: string
prepareStackTrace?: (err: Error, stackTraces: CallSite[]) => any

Optional override for formatting stack traces

stackTraceLimit: number

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • OptionalconstructorOpt: Function

    Returns void