package de.effigenix.domain.inventory;

public sealed interface ProductionOutputError {

    String message();

    record NoProductionArea(String message) implements ProductionOutputError {}
    record StockCreationFailed(String message) implements ProductionOutputError {}
    record BatchAdditionFailed(String message) implements ProductionOutputError {}
    record MovementRecordingFailed(String message) implements ProductionOutputError {}
    record RepositoryFailure(String message) implements ProductionOutputError {}
}
