Twitter Api Error
data class TwitterApiError( val code: Int, val title: String, val description: String, val httpStatusCode: HttpStatusCode?)
Content copied to clipboard
Represents Twitter API error codes. Described in https://developer.twitter.com/en/docs/basics/response-codes.
In addition to descriptive error text, error messages contain machine-parseable codes. While the text for an error message may change, the codes will stay the same. The following table describes the codes which may appear when working with the standard API (note that the Ads API and some other resource families may present additional error codes). If an error response is not listed in the table, fall back to examining the HTTP status codes above in order to determine the best way to address the issue.
Constructors
Link copied to clipboard
fun TwitterApiError( code: Int, title: String, description: String, httpStatusCode: HttpStatusCode?)
Content copied to clipboard