package com.honey.honey.exception;

import lombok.Getter;

/**
 * Base exception for game-related errors with user-friendly messages.
 */
@Getter
public class GameException extends RuntimeException {
    private final String userMessage;

    public GameException(String userMessage) {
        super(userMessage);
        this.userMessage = userMessage;
    }

    public GameException(String userMessage, Throwable cause) {
        super(userMessage, cause);
        this.userMessage = userMessage;
    }
}





