CloudErrorBody Class

Describes a particular API error with an error code and a message.

Inheritance
azure.mgmt.search._serialization.Model
CloudErrorBody

Constructor

CloudErrorBody(*, code: str | None = None, message: str | None = None, target: str | None = None, details: List[_models.CloudErrorBody] | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
code
str

An error code that describes the error condition more precisely than an HTTP status code. Can be used to programmatically handle specific error cases.

message
str

A message that describes the error in detail and provides debugging information.

target
str

The target of the particular error (for example, the name of the property in error).

details

Contains nested errors that are related to this error.

Variables

Name Description
code
str

An error code that describes the error condition more precisely than an HTTP status code. Can be used to programmatically handle specific error cases.

message
str

A message that describes the error in detail and provides debugging information.

target
str

The target of the particular error (for example, the name of the property in error).

details

Contains nested errors that are related to this error.