Share via


CloudErrorBody Class

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

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.

Default value: None
message
str

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

Default value: None
target
str

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

Default value: None
details

Contains nested errors that are related to this error.

Default value: None

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.