Share via


CassandraError Class

Definition

The CassandraError.

public class CassandraError : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.CosmosDB.Models.CassandraError>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.CosmosDB.Models.CassandraError>
type CassandraError = class
    interface IJsonModel<CassandraError>
    interface IPersistableModel<CassandraError>
Public Class CassandraError
Implements IJsonModel(Of CassandraError), IPersistableModel(Of CassandraError)
Inheritance
CassandraError
Implements

Constructors

CassandraError()

Initializes a new instance of CassandraError.

Properties

AdditionalErrorInfo

Additional information about the error.

Code

The code of error that occurred.

Message

The message of the error.

Target

The target resource of the error.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<CassandraError>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<CassandraError>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CassandraError>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CassandraError>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<CassandraError>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to