ChatError Class
- java.
lang. Object - com.
azure. communication. chat. models. ChatError
- com.
public final class ChatError
The Chat Services error.
Constructor Summary
Constructor | Description |
---|---|
ChatError(String message, String code, String target, List<ChatError> details, ChatError innerError) |
Constructs a new Chat |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
getCode()
Get the code property: The error code. |
List<Chat |
getDetails()
Get the details property: Further details about specific errors that led to this error. |
Chat |
getInnerError()
Get the inner |
String |
getMessage()
Get the message property: The error message. |
String |
getTarget()
Get the target property: The error target. |
Methods inherited from java.lang.Object
Constructor Details
ChatError
public ChatError(String message, String code, String target, List
Constructs a new ChatError
Parameters:
Method Details
getCode
public String getCode()
Get the code property: The error code.
Returns:
getDetails
public List
Get the details property: Further details about specific errors that led to this error.
Returns:
getInnerError
public ChatError getInnerError()
Get the innerError property: The inner error if any.
Returns:
getMessage
public String getMessage()
Get the message property: The error message.
Returns:
getTarget
public String getTarget()
Get the target property: The error target.
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for