C# Class Mondo.MondoException

Represents an error response from the Mondo API.
Inheritance: System.Exception
Datei anzeigen Open project: rdingwall/mondo.net Class Usage Examples

Public Methods

Method Description
MondoException ( HttpStatusCode statusCode, string message, ErrorResponse response = null ) : System

Initializes a new instance of the MondoClient class.

Private Methods

Method Description
CreateFromApiResponse ( HttpResponseMessage response, string body ) : MondoException

Method Details

MondoException() public method

Initializes a new instance of the MondoClient class.
public MondoException ( HttpStatusCode statusCode, string message, ErrorResponse response = null ) : System
statusCode HttpStatusCode HTTP status code.
message string The message that describes the error.
response ErrorResponse The error response returned from the API.
return System