C# Class Imgur.API.ImgurException

The exception that is thrown when an error is found in a response from an Imgur endpoint.
Inheritance: System.Exception
ファイルを表示 Open project: DamienDennehy/Imgur.API

Public Methods

Method Description
ImgurException ( string message ) : System

Initializes a new instance of the ImgurException class with a specified error message.

ImgurException ( string message, Exception innerException ) : System

Initializes a new instance of the ImgurException class with a specified error message.

Method Details

ImgurException() public method

Initializes a new instance of the ImgurException class with a specified error message.
public ImgurException ( string message ) : System
message string The message that describes the error.
return System

ImgurException() public method

Initializes a new instance of the ImgurException class with a specified error message.
public ImgurException ( string message, Exception innerException ) : System
message string The message that describes the error.
innerException System.Exception The exception that is the cause of the current exception.
return System