net.minecraft.client.realms

public record RealmsError$SimpleHttpError

implements RealmsError

com.mojang.realmsclient.client.RealmsError$CustomError
net.minecraft.class_4345$class_8653
net.minecraft.client.realms.RealmsError$SimpleHttpError

Field summary

Modifier and TypeField
private final int
httpCode
comp_1596
httpCode
private final Text
payload
comp_1597
payload
public static final RealmsError$SimpleHttpError
SERVICE_BUSY
field_45235
SERVICE_BUSY
public static final Text
RETRY_MESSAGE
field_45236
RETRY_TEXT
public static final String
BODY_TAG
field_60674
BODY_HTML_OPENING_TAG
public static final String
CLOSING_BODY_TAG
field_60675
BODY_HTML_CLOSING_TAG

Constructor summary

ModifierConstructor
public (int httpCode, Text payload)

Method summary

Modifier and TypeMethod
public static RealmsError$SimpleHttpError
unknownCompatibilityResponse(String response)
method_52660(String arg0)
unknownCompatibility(String response)
public static RealmsError$SimpleHttpError
configurationError()
method_71170()
configurationError()
public static RealmsError$SimpleHttpError
connectivityError(RealmsHttpException exception)
method_52659(class_4354 arg0)
connectivity(RealmsHttpException exception)
public static RealmsError$SimpleHttpError
retry(int statusCode)
method_52658(int arg0)
retryable(int statusCode)
public static RealmsError$SimpleHttpError
noPayload(int statusCode)
method_52661(int arg0)
statusCodeOnly(int statusCode)
public static RealmsError$SimpleHttpError
htmlPayload(int statusCode, String payload)
method_71781(int arg0, String arg1)
unreadableHtmlBody(int statusCode, String html)
public int
errorCode()
method_21037()
getErrorCode()
public Text
errorMessage()
method_52657()
getText()
public String
logMessage()
method_21036()
getErrorMessage()
public int
httpCode()
comp_1596()
httpCode()
public Text
payload()
comp_1597()
payload()