Class ChatError
-
- All Implemented Interfaces:
public final class ChatErrorThe error response from the chat server.
-
-
Method Summary
Modifier and Type Method Description final IntegergetCode()The error code. final StringgetMessage()The error message. final UnitsetMessage(String message)The error message. final IntegergetStatusCode()The status code. final UnitsetStatusCode(Integer statusCode)The status code. final Map<String, String>getExceptionFields()The exception fields. final StringgetMoreInfo()More info about the error. final UnitsetMoreInfo(String moreInfo)More info about the error. final List<ChatErrorDetail>getDetails()The error details. final StringgetDuration()The duration of the error. final UnitsetDuration(String duration)The duration of the error. -
-
Method Detail
-
getMessage
final String getMessage()
The error message.
-
setMessage
final Unit setMessage(String message)
The error message.
-
getStatusCode
final Integer getStatusCode()
The status code.
-
setStatusCode
final Unit setStatusCode(Integer statusCode)
The status code.
-
getExceptionFields
final Map<String, String> getExceptionFields()
The exception fields.
-
getMoreInfo
final String getMoreInfo()
More info about the error.
-
setMoreInfo
final Unit setMoreInfo(String moreInfo)
More info about the error.
-
getDetails
final List<ChatErrorDetail> getDetails()
The error details.
-
getDuration
final String getDuration()
The duration of the error.
-
setDuration
final Unit setDuration(String duration)
The duration of the error.
-
-
-
-