mirror of
				https://github.com/pelican-dev/panel.git
				synced 2025-11-04 09:16:51 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			21 lines
		
	
	
		
			476 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			476 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
<?php
 | 
						|
 | 
						|
namespace Pterodactyl\Exceptions\Service\Backup;
 | 
						|
 | 
						|
use Pterodactyl\Exceptions\DisplayException;
 | 
						|
 | 
						|
class TooManyBackupsException extends DisplayException
 | 
						|
{
 | 
						|
    /**
 | 
						|
     * TooManyBackupsException constructor.
 | 
						|
     *
 | 
						|
     * @param int $backupLimit
 | 
						|
     */
 | 
						|
    public function __construct(int $backupLimit)
 | 
						|
    {
 | 
						|
        parent::__construct(
 | 
						|
            sprintf('Cannot create a new backup, this server has reached its limit of %d backups.', $backupLimit)
 | 
						|
        );
 | 
						|
    }
 | 
						|
}
 |