package com.pablotj.ai.chat.domain.exception;

import com.pablotj.ai.chat.domain.model.ConversationId;

/**
 * Exception thrown when a requested conversation cannot be found.
 */
public class ConversationNotFoundException extends DomainException {

    private final ConversationId conversationId;

    public ConversationNotFoundException(ConversationId conversationId) {
        super(String.format("Conversation not found with ID: %s", conversationId.getUuid()));
        this.conversationId = conversationId;
    }

    public ConversationId getConversationId() {
        return conversationId;
    }
}
