package dev.fyloz.trial.colorrecipesexplorer.exception;

import dev.fyloz.trial.colorrecipesexplorer.model.dto.MaterialTypeEditorDto;
import lombok.Getter;

@Getter
public class CannotEditDefaultMaterialTypeException extends RuntimeException {

    private MaterialTypeEditorDto materialType;

    public CannotEditDefaultMaterialTypeException(MaterialTypeEditorDto materialType) {
        this.materialType = materialType;
    }
}
