<?php

declare(strict_types=1);

namespace App\Exceptions;

use RuntimeException;

/**
 * A package cannot be bought on these terms — wrong age, not on sale, or a
 * group size the studio cannot take. Always carries a message safe to show
 * the customer verbatim.
 */
class PackageUnavailableException extends RuntimeException
{
    public static function because(string $reason): self
    {
        return new self($reason);
    }
}
