package com.erp.ai.exception;

public class LlmClientException extends RuntimeException {
    private final int statusCode;

    public LlmClientException(String message) {
        super(message);
        this.statusCode = 500;
    }

    public LlmClientException(String message, int statusCode) {
        super(message);
        this.statusCode = statusCode;
    }

    public LlmClientException(String message, Throwable cause) {
        super(message, cause);
        this.statusCode = 500;
    }

    public int getStatusCode() {
        return statusCode;
    }
}
