Class TwitterError

The error thrown by Twitter API.

Hierarchy

  • Error
    • TwitterError

Implements

Constructors

Properties

cause?: unknown

The details of each error.

message: string

The error message in the response.

name: string

The name of the error response.

stack?: string
status: number

The response status code.

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