package eu.jonahbauer.wizard.core.states.game;

import eu.jonahbauer.wizard.core.states.GameState;
import eu.jonahbauer.wizard.core.states.GameData;
import lombok.Getter;

@Getter
public final class Error extends GameState {
    private final Throwable cause;

    public Error(Throwable cause) {
        super(GameData.EMPTY);
        this.cause = cause;
    }
}
