Files
panel/app/Exceptions/Service/Backup/TooManyBackupsException.php

19 lines
422 B
PHP
Raw Normal View History

<?php
2024-03-12 22:39:16 -04:00
namespace App\Exceptions\Service\Backup;
2024-03-12 22:39:16 -04:00
use App\Exceptions\DisplayException;
class TooManyBackupsException extends DisplayException
{
/**
* TooManyBackupsException constructor.
*/
public function __construct(int $backupLimit)
{
parent::__construct(
sprintf('Cannot create a new backup, this server has reached its limit of %d backups.', $backupLimit)
);
}
}