Base class for errors thrown by the PixelConnect or its descendant classes.

Hierarchy (view full)

Constructors

  • Parameters

    • pixel: PixelType
    • message: string
    • Optionalcause: Error

    Returns PixelError

Properties

cause?: Error

The original error that caused this error to be thrown.

description: string

The error description.

message: string
name: string
pixel: PixelType

The Pixel instance for which the error occurred.

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