package p.studio.workspaces.assets.messages.events;

import p.packer.messages.AssetReference;
import p.studio.lsp.events.StudioEvent;

import java.util.Objects;

public record StudioAssetBankCompositionApplyFailedEvent(
        AssetReference assetReference,
        String message) implements StudioEvent {
    public StudioAssetBankCompositionApplyFailedEvent {
        Objects.requireNonNull(assetReference, "assetReference");
        message = Objects.requireNonNullElse(message, "");
    }
}
