ErrorEntity¶
- class oci.service_manager_proxy.models.ErrorEntity(**kwargs)¶
Bases:
objectThe model for the error entity.
Methods:
__init__(**kwargs)Initializes a new ErrorEntity object with values from keyword arguments.
Attributes:
[Required] Gets the code of this ErrorEntity.
[Required] Gets the message of this ErrorEntity.
- __init__(**kwargs)¶
Initializes a new ErrorEntity object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
code (str) – The value to assign to the code property of this ErrorEntity.
message (str) – The value to assign to the message property of this ErrorEntity.
- property code¶
[Required] Gets the code of this ErrorEntity. A short error code that defines the error.
- Returns
The code of this ErrorEntity.
- Return type
str
- property message¶
[Required] Gets the message of this ErrorEntity. A human-readable error string.
- Returns
The message of this ErrorEntity.
- Return type
str