16 lines
333 B
PHP
16 lines
333 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Exceptions\Autopodbor;
|
|
|
|
use RuntimeException;
|
|
|
|
final class BatchBudgetException extends RuntimeException
|
|
{
|
|
public function __construct(public readonly string $topupRub, public readonly int $maxAffordable)
|
|
{
|
|
parent::__construct('insufficient_balance_for_batch');
|
|
}
|
|
}
|