### 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:
- ""
inheritedClassMethods:
- classRef: "java.lang.Object"
methodsRef:
- "clone"
- "equals"
- "finalize"
- "getClass"
- "hashCode"
- "notify"
- "notifyAll"
- "toString"
- "wait"
- "wait"
- "wait"
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)"
fullName: "com.azure.communication.chat.models.ChatError.ChatError(String message, String code, String target, List details, ChatError innerError)"
name: "ChatError(String message, String code, String target, List details, ChatError innerError)"
nameWithType: "ChatError.ChatError(String message, String code, String target, List details, ChatError innerError)"
summary: "Constructs a new ChatError"
parameters:
- description: "The message of the original error"
name: "message"
type: "String"
- description: "The error code"
name: "code"
type: "String"
- description: "The target of the error"
name: "target"
type: "String"
- description: "Additional details"
name: "details"
type: "List<>"
- description: "The inner error"
name: "innerError"
type: ""
syntax: "public ChatError(String message, String code, String target, List 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: "String"
- 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 getDetails()"
desc: "Get the details property: Further details about specific errors that led to this error."
returns:
description: "the details value."
type: "List<>"
- uid: "com.azure.communication.chat.models.ChatError.getInnerError()"
fullName: "com.azure.communication.chat.models.ChatError.getInnerError()"
name: "getInnerError()"
nameWithType: "ChatError.getInnerError()"
summary: "Get the innerError 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: ""
- 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: "String"
- 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: "String"
type: "class"
desc: "The Chat Services error."
metadata: {}
package: "com.azure.communication.chat.models"
artifact: com.azure:azure-communication-chat:1.5.6