CloudErrorBody Class
Describes a particular API error with an error code and a message.
- Inheritance
-
azure.mgmt.search._serialization.ModelCloudErrorBody
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
|
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
|
A message that describes the error in detail and provides debugging information. |
target
|
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
|
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
|
A message that describes the error in detail and provides debugging information. |
target
|
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. |
Azure SDK for Python