ErrorEntity

class oci.service_catalog.models.ErrorEntity(**kwargs)

Bases: object

The model for the error entity.

Methods

__init__(**kwargs) Initializes a new ErrorEntity object with values from keyword arguments.

Attributes

code [Required] Gets the code of this ErrorEntity.
message [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.
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
message

[Required] Gets the message of this ErrorEntity. A human-readable error string.

Returns:The message of this ErrorEntity.
Return type:str