package org.cyclops.integrateddynamics.api.evaluate;

import net.minecraft.util.text.IFormattableTextComponent;

/**
 * Exception to indicate a failed evaluation.
 * @author rubensworks
 */
public class EvaluationException extends Exception {

    private final IFormattableTextComponent errorMessage;

    public EvaluationException(IFormattableTextComponent errorMessage) {
        super(errorMessage.getString());
        this.errorMessage = errorMessage;
    }

    public IFormattableTextComponent getErrorMessage() {
        return errorMessage;
    }
}

@@ -396,19 +396,18 @@
 Message.
-ge
 t
+o
 String()

Fix crash when throwing EvaluationException server-side