ErrorDetails¶
-
class
oci.ai_language.models.
ErrorDetails
(**kwargs)¶ Bases:
object
Error Information.
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.
Returns: The code of this ErrorDetails. Return type: str
-
message
¶ [Required] Gets the message of this ErrorDetails. A human-readable error string.
Returns: The message of this ErrorDetails. Return type: str
-