ErrorDetails

class oci.data_connectivity.models.ErrorDetails(**kwargs)

Bases: object

The details of an error that occured.

Methods

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

Attributes

code [Required] Gets the code of this ErrorDetails.
message [Required] Gets the message of this ErrorDetails.
__init__(**kwargs)

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

[Required] Gets the code of this ErrorDetails. A short error code that defines the error, meant for programmatic parsing. See API Errors.

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

[Required] Gets the message of this ErrorDetails. A user-friendly error message.

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