@Environment(value=CLIENT) public class RealmsError extends Object
Modifier and Type | Field and Description |
---|---|
private int |
errorCode |
private String |
errorMessage |
private static Logger |
LOGGER |
Modifier | Constructor and Description |
---|---|
private |
RealmsError(String errorMessage,
int errorCode) |
Modifier and Type | Method and Description |
---|---|
static RealmsError |
create(String error) |
int |
getErrorCode() |
String |
getErrorMessage() |
private static final Logger LOGGER
private final String errorMessage
private final int errorCode
private RealmsError(String errorMessage, int errorCode)
public static RealmsError create(String error)
public String getErrorMessage()
public int getErrorCode()