public final class ErrorDescription
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
int |
errorCode
One of error codes defined in
ErrorCodes identifying the type of error. |
java.lang.String |
errorMsg
A brief message describing the error.
|
int |
httpStatusCode
Relevant http status code if the error was server related, -1 otherwise.
|
| Constructor and Description |
|---|
ErrorDescription(int errorCode,
java.lang.String errorMsg,
int httpStatusCode) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
toString() |
public final int errorCode
ErrorCodes identifying the type of error.public final java.lang.String errorMsg
public final int httpStatusCode