TwitterAPIError - daneden/Twift Wiki

TwitterAPIError

An error returned from the Twitter API

public struct TwitterAPIError: Codable, LocalizedError, 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?

localizedDescription

The human-readable description for the error

public var localizedDescription: String