Interface ITwitterError

The error thrown by Twitter API.

interface ITwitterError {
    cause?: unknown;
    details: ITwitterErrorDetails[];
    message: string;
    name: string;
    stack?: string;
    status: number;
}

Hierarchy

  • Error
    • ITwitterError

Implemented by

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.