<?php

declare(strict_types=1);

namespace Builder\Core\Exceptions;

final class InvalidPublishTransitionException extends BuilderException
{
    public static function scheduledWithoutDate(): self
    {
        return new self('Cannot schedule publication without a publish_at date.');
    }
}
