Skip to content

TwitterAPIError

daneden edited this page Apr 27, 2022 · 5 revisions

TwitterAPIError

An error returned from the Twitter API

public struct TwitterAPIError: Codable, Hashable 

Inheritance

Codable, Hashable, LocalizedError

Properties

title

The summary of the encountered error

public let title: String

detail

The details for the encountered error

public let detail: String

type

A URL for developers to learn more about the kind of encountered error

public let type: URL

resourceId

The unique ID for the resource (if any) where the error originated

public let resourceId: String?

resourceType

The resource type for the resource (if any) where the error originated

public let resourceType: String?

errors

public let errors: [ErrorDetail]?

errorDescription

The human-readable description for the error

public var errorDescription: String? 
Types
Global Variables
Global Functions
Extensions
Clone this wiki locally