<?php
 namespace App\Core\IpAllocator\Exceptions; class PoolExhaustedException extends \RuntimeException { public static function for(int $poolId, string $name): self { return new self("IP pool {$poolId} ({$name}) is exhausted — no free addresses available"); } } 