mirror of
https://github.com/pterodactyl/panel.git
synced 2026-12-02 04:15:52 -05:00
21 lines
428 B
PHP
21 lines
428 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Pterodactyl\Exceptions\Service\Backup;
|
|
|
|
use Pterodactyl\Exceptions\DisplayException;
|
|
|
|
class TooManyBackupsException extends DisplayException
|
|
{
|
|
/**
|
|
* TooManyBackupsException constructor.
|
|
*/
|
|
public function __construct(int $backupLimit)
|
|
{
|
|
parent::__construct(
|
|
__('exceptions.backups.limit_reached', ['limit' => $backupLimit])
|
|
);
|
|
}
|
|
}
|