public static class ChatResult.Error
extends java.lang.Object
| Constructor and Description |
|---|
Error(ComapiResult e)
Recommended constructor.
|
Error(int code,
java.lang.String message,
java.lang.String details)
Recommended constructor.
|
Error(int code,
java.lang.Throwable e)
Recommended constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getCode()
Error code.
|
java.lang.String |
getDetails() |
java.lang.String |
getMessage()
Error message.
|
public Error(int code,
java.lang.String message,
java.lang.String details)
code - Error code. For service call errors this will be http error code.message - Error description.details - Error details.public Error(int code,
java.lang.Throwable e)
code - Error code. For service call errors this will be http error code.e - Error details.public Error(ComapiResult e)
e - Error details.