C# Class CoreTweet.TwitterException

Exception throwed by Twitter.
Inheritance: System.Exception, ITwitterResponse
Mostra file Open project: CoreTweet/CoreTweet Class Usage Examples

Public Methods

Method Description
Create ( AsyncResponse response ) : Task

Create a TwitterException instance from the AsyncResponse.

Create ( WebException ex ) : TwitterException

Create a TwitterException instance from the WebException.

Private Methods

Method Description
Create ( string json, HttpStatusCode statusCode, Exception ex, RateLimit rateLimit ) : TwitterException
ParseErrors ( string json ) : Error[]
TwitterException ( HttpStatusCode status, Error errors, RateLimit rateLimit, string json, Exception innerException ) : System

Method Details

Create() public static method

Create a TwitterException instance from the AsyncResponse.
public static Create ( AsyncResponse response ) : Task
response AsyncResponse
return Task

Create() public static method

Create a TwitterException instance from the WebException.
public static Create ( WebException ex ) : TwitterException
ex System.Net.WebException The thrown .
return TwitterException