CoreTweet  2.0.0-beta.2
Yet another .NET Twitter Library
Static Public Member Functions | Properties | List of all members
CoreTweet.TwitterException Class Reference

Exception throwed by Twitter. More...

Inheritance diagram for CoreTweet.TwitterException:
CoreTweet.Core.ITwitterResponse

Static Public Member Functions

static async Task< TwitterExceptionCreate (AsyncResponse response)
 Create a TwitterException instance from the AsyncResponse. More...
 
static TwitterException Create (WebException ex)
 Create a TwitterException instance from the WebException. More...
 

Properties

HttpStatusCode Status [get]
 The status of the response. More...
 
Uri RequestUri [get]
 The URI of the request. More...
 
Error[] Errors [get]
 The error messages. More...
 
RateLimit RateLimit [get, set]
 Gets or sets the rate limit of the response. More...
 
string Json [get, set]
 Gets or sets the JSON of the response. More...
 
- Properties inherited from CoreTweet.Core.ITwitterResponse
RateLimit RateLimit [get, set]
 Gets or sets the rate limit of the response. More...
 
string Json [get, set]
 Gets or sets the JSON of the response. More...
 

Detailed Description

Exception throwed by Twitter.

Member Function Documentation

◆ Create() [1/2]

static async Task<TwitterException> CoreTweet.TwitterException.Create ( AsyncResponse  response)
inlinestatic

Create a TwitterException instance from the AsyncResponse.

Returns
TwitterException instance or null.

◆ Create() [2/2]

static TwitterException CoreTweet.TwitterException.Create ( WebException  ex)
inlinestatic

Create a TwitterException instance from the WebException.

Parameters
exThe thrown WebException.
Returns
TwitterException instance or null.

Property Documentation

◆ Errors

Error [] CoreTweet.TwitterException.Errors
get

The error messages.

◆ Json

string CoreTweet.TwitterException.Json
getset

Gets or sets the JSON of the response.

◆ RateLimit

RateLimit CoreTweet.TwitterException.RateLimit
getset

Gets or sets the rate limit of the response.

◆ RequestUri

Uri CoreTweet.TwitterException.RequestUri
get

The URI of the request.

◆ Status

HttpStatusCode CoreTweet.TwitterException.Status
get

The status of the response.


The documentation for this class was generated from the following file: