RiotNet  8.0.0
A C#/.NET client for the Riot Games API.
Public Member Functions | Properties | List of all members
RiotNet.RestException Class Reference

Represents an error that occurred during a REST request. More...

Inheritance diagram for RiotNet.RestException:
RiotNet.ConnectionFailedException RiotNet.NotFoundException RiotNet.RateLimitExceededException RiotNet.RestTimeoutException

Public Member Functions

 RestException ()
 Creates a new RestException instance. More...
 
 RestException (RiotResponse response)
 Creates a new RestException instance. More...
 
 RestException (RiotResponse response, string message)
 Creates a new RestException instance. More...
 
 RestException (RiotResponse response, Exception innerException)
 Creates a new RestException instance. More...
 
 RestException (RiotResponse response, string message, Exception innerException)
 Creates a new RestException instance. More...
 

Properties

RiotResponse Response [get]
 Gets the response. More...
 

Detailed Description

Represents an error that occurred during a REST request.

Constructor & Destructor Documentation

RiotNet.RestException.RestException ( )
inline

Creates a new RestException instance.

RiotNet.RestException.RestException ( RiotResponse  response)
inline

Creates a new RestException instance.

Parameters
responseThe response.
RiotNet.RestException.RestException ( RiotResponse  response,
string  message 
)
inline

Creates a new RestException instance.

Parameters
responseThe response.
messageA message that describes the error.
RiotNet.RestException.RestException ( RiotResponse  response,
Exception  innerException 
)
inline

Creates a new RestException instance.

Parameters
responseThe response.
innerExceptionThe exception that is the cause of the current exception.
RiotNet.RestException.RestException ( RiotResponse  response,
string  message,
Exception  innerException 
)
inline

Creates a new RestException instance.

Parameters
responseThe response.
messageA message that describes the error.
innerExceptionThe exception that is the cause of the current exception.

Property Documentation

RiotResponse RiotNet.RestException.Response
get

Gets the response.


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