azure-docs-sdk-java/docs-ref-autogen/com.azure.communication.cha...

104 строки
6.5 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.communication.chat.models.ChatError"
fullName: "com.azure.communication.chat.models.ChatError"
name: "ChatError"
nameWithType: "ChatError"
summary: "The Chat Services error."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
syntax: "public final class **ChatError**"
constructors:
- uid: "com.azure.communication.chat.models.ChatError.ChatError(java.lang.String,java.lang.String,java.lang.String,java.util.List<com.azure.communication.chat.models.ChatError>,com.azure.communication.chat.models.ChatError)"
fullName: "com.azure.communication.chat.models.ChatError.ChatError(String message, String code, String target, List<ChatError> details, ChatError innerError)"
name: "ChatError(String message, String code, String target, List<ChatError> details, ChatError innerError)"
nameWithType: "ChatError.ChatError(String message, String code, String target, List<ChatError> details, ChatError innerError)"
summary: "Constructs a new Chat<wbr>Error"
parameters:
- description: "The message of the original error"
name: "message"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "The error code"
name: "code"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "The target of the error"
name: "target"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "Additional details"
name: "details"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.communication.chat.models.ChatError?alt=com.azure.communication.chat.models.ChatError&text=ChatError\" data-throw-if-not-resolved=\"False\" />&gt;"
- description: "The inner error"
name: "innerError"
type: "<xref href=\"com.azure.communication.chat.models.ChatError?alt=com.azure.communication.chat.models.ChatError&text=ChatError\" data-throw-if-not-resolved=\"False\" />"
syntax: "public ChatError(String message, String code, String target, List<ChatError> details, ChatError innerError)"
desc: "Constructs a new ChatError"
methods:
- uid: "com.azure.communication.chat.models.ChatError.getCode()"
fullName: "com.azure.communication.chat.models.ChatError.getCode()"
name: "getCode()"
nameWithType: "ChatError.getCode()"
summary: "Get the code property: The error code."
syntax: "public String getCode()"
desc: "Get the code property: The error code."
returns:
description: "the code value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.communication.chat.models.ChatError.getDetails()"
fullName: "com.azure.communication.chat.models.ChatError.getDetails()"
name: "getDetails()"
nameWithType: "ChatError.getDetails()"
summary: "Get the details property: Further details about specific errors that led to this error."
syntax: "public List<ChatError> getDetails()"
desc: "Get the details property: Further details about specific errors that led to this error."
returns:
description: "the details value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.communication.chat.models.ChatError?alt=com.azure.communication.chat.models.ChatError&text=ChatError\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.azure.communication.chat.models.ChatError.getInnerError()"
fullName: "com.azure.communication.chat.models.ChatError.getInnerError()"
name: "getInnerError()"
nameWithType: "ChatError.getInnerError()"
summary: "Get the inner<wbr>Error property: The inner error if any."
syntax: "public ChatError getInnerError()"
desc: "Get the innerError property: The inner error if any."
returns:
description: "the innerError value."
type: "<xref href=\"com.azure.communication.chat.models.ChatError?alt=com.azure.communication.chat.models.ChatError&text=ChatError\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.communication.chat.models.ChatError.getMessage()"
fullName: "com.azure.communication.chat.models.ChatError.getMessage()"
name: "getMessage()"
nameWithType: "ChatError.getMessage()"
summary: "Get the message property: The error message."
syntax: "public String getMessage()"
desc: "Get the message property: The error message."
returns:
description: "the message value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.communication.chat.models.ChatError.getTarget()"
fullName: "com.azure.communication.chat.models.ChatError.getTarget()"
name: "getTarget()"
nameWithType: "ChatError.getTarget()"
summary: "Get the target property: The error target."
syntax: "public String getTarget()"
desc: "Get the target property: The error target."
returns:
description: "the target value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
type: "class"
desc: "The Chat Services error."
metadata: {}
package: "com.azure.communication.chat.models"
artifact: com.azure:azure-communication-chat:1.5.4