Package net.minecraft.client.realms
Class RealmsError
java.lang.Object
net.minecraft.client.realms.RealmsError
@Environment(CLIENT) public class RealmsError extends Object
-
Field Summary
Fields Modifier and Type Field Description private int
errorCode
private String
errorMessage
private static Logger
LOGGER
-
Constructor Summary
Constructors Modifier Constructor Description private
RealmsError(String errorMessage, int errorCode)
-
Method Summary
Modifier and Type Method Description static RealmsError
create(String error)
int
getErrorCode()
String
getErrorMessage()
-
Field Details
-
LOGGER
-
errorMessage
-
errorCode
private final int errorCode
-
-
Constructor Details
-
RealmsError
-
-
Method Details
-
create
-
getErrorMessage
-
getErrorCode
public int getErrorCode()
-