Table of Contents

Class Error

Namespace
Microsoft.Azure.Documents
Assembly
Microsoft.Azure.Documents.Client.dll

Encapsulates error related details in the Azure Cosmos DB service.

public class Error : Resource
Inheritance
Error
Inherited Members
Extension Methods

Constructors

Error()

Initializes a new instance of the Error class for the Azure Cosmos DB service.

public Error()

Properties

Code

Gets or sets the textual description of error code in the Azure Cosmos DB service.

public string Code { get; set; }

Property Value

string

The textual description of error code.

Message

Gets or sets the error message in the Azure Cosmos DB service.

public string Message { get; set; }

Property Value

string

The error message.