package com.qqchen.deploy.backend.framework.exception;

import com.qqchen.deploy.backend.framework.enums.ResponseCode;
import lombok.Getter;

@Getter
public class UniqueConstraintException extends BusinessException {
    private final String field;
    private final String value;

    public UniqueConstraintException(ResponseCode code, String field, String value) {
        super(code);
        this.field = field;
        this.value = value;
    }
} 