Table of Contents

Class ErrorResponseException

Namespace
Microsoft.Azure.Management.CosmosDB.Fluent.Models
Assembly
Microsoft.Azure.Management.CosmosDB.Fluent.dll

Exception thrown for an invalid response with ErrorResponse information.

public class ErrorResponseException : RestException
Inheritance
ErrorResponseException

Constructors

ErrorResponseException()

Initializes a new instance of the ErrorResponseException class.

public ErrorResponseException()

ErrorResponseException(string)

Initializes a new instance of the ErrorResponseException class.

public ErrorResponseException(string message)

Parameters

message string

The exception message.

ErrorResponseException(string, Exception)

Initializes a new instance of the ErrorResponseException class.

public ErrorResponseException(string message, Exception innerException)

Parameters

message string

The exception message.

innerException Exception

Inner exception.

Properties

Body

Gets or sets the body object.

public ErrorResponse Body { get; set; }

Property Value

ErrorResponse

Request

Gets information about the associated HTTP request.

public HttpRequestMessageWrapper Request { get; set; }

Property Value

HttpRequestMessageWrapper

Response

Gets information about the associated HTTP response.

public HttpResponseMessageWrapper Response { get; set; }

Property Value

HttpResponseMessageWrapper