AddonError

class oci.container_engine.models.AddonError(**kwargs)

Bases: object

The error info of the addon.

Methods

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

Attributes

code Gets the code of this AddonError.
message Gets the message of this AddonError.
status Gets the status of this AddonError.
__init__(**kwargs)

Initializes a new AddonError 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 AddonError.
  • message (str) – The value to assign to the message property of this AddonError.
  • status (str) – The value to assign to the status property of this AddonError.
code

Gets the code of this AddonError. A short error code that defines the upstream error, meant for programmatic parsing. See API Errors.

Returns:The code of this AddonError.
Return type:str
message

Gets the message of this AddonError. A human-readable error string of the upstream error.

Returns:The message of this AddonError.
Return type:str
status

Gets the status of this AddonError. The status of the HTTP response encountered in the upstream error.

Returns:The status of this AddonError.
Return type:str