NodeError¶
-
class
oci.container_engine.models.
NodeError
(**kwargs)¶ Bases:
object
The properties that define an upstream error while managing a node.
Methods
__init__
(**kwargs)Initializes a new NodeError object with values from keyword arguments. Attributes
code
[Required] Gets the code of this NodeError. message
[Required] Gets the message of this NodeError. opc_request_id
Gets the opc_request_id of this NodeError. status
Gets the status of this NodeError. -
__init__
(**kwargs)¶ Initializes a new NodeError 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 NodeError.
- message (str) – The value to assign to the message property of this NodeError.
- status (str) – The value to assign to the status property of this NodeError.
- opc_request_id (str) – The value to assign to the opc_request_id property of this NodeError.
-
code
¶ [Required] Gets the code of this NodeError. A short error code that defines the upstream error, meant for programmatic parsing. See API Errors.
Returns: The code of this NodeError. Return type: str
-
message
¶ [Required] Gets the message of this NodeError. A human-readable error string of the upstream error.
Returns: The message of this NodeError. Return type: str
-
opc_request_id
¶ Gets the opc_request_id of this NodeError. Unique Oracle-assigned identifier for the upstream request. If you need to contact Oracle about a particular upstream request, please provide the request ID.
Returns: The opc_request_id of this NodeError. Return type: str
-
status
¶ Gets the status of this NodeError. The status of the HTTP response encountered in the upstream error.
Returns: The status of this NodeError. Return type: str
-