public class GraphError
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.lang.String |
code |
GraphInnerError |
innererror |
java.lang.String |
message |
Constructor and Description |
---|
GraphError() |
Modifier and Type | Method and Description |
---|---|
boolean |
isError(GraphErrorCodes expectedCode)
Determine if the given error code is the one that is expected
|
@SerializedName(value="message") @Expose public java.lang.String message
@SerializedName(value="code") @Expose public java.lang.String code
@SerializedName(value="innererror") public GraphInnerError innererror
public boolean isError(GraphErrorCodes expectedCode)
expectedCode
- the expected error code