soiz1's picture
Upload folder using huggingface_hub
d46f4a3 verified
package com.mojang.realmsclient.exception;
import com.mojang.realmsclient.client.RealmsError;
import net.minecraftforge.api.distmarker.Dist;
import net.minecraftforge.api.distmarker.OnlyIn;
@OnlyIn(Dist.CLIENT)
public class RealmsServiceException extends Exception {
public final RealmsError realmsError;
public RealmsServiceException(RealmsError p_299387_) {
this.realmsError = p_299387_;
}
@Override
public String getMessage() {
return this.realmsError.logMessage();
}
}