ResultError

class oci.database_migration.models.ResultError(**kwargs)

Bases: object

Error Information.

Methods

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

Attributes

action Gets the action of this ResultError.
code [Required] Gets the code of this ResultError.
issue Gets the issue of this ResultError.
message [Required] Gets the message of this ResultError.
__init__(**kwargs)

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

Gets the action of this ResultError. The text describing the action required to fix the issue

Returns:The action of this ResultError.
Return type:str
code

[Required] Gets the code of this ResultError. A short error code that defines the error, meant for programmatic parsing.

Returns:The code of this ResultError.
Return type:str
issue

Gets the issue of this ResultError. The text describing the root cause of the reported issue

Returns:The issue of this ResultError.
Return type:str
message

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

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