mirror of
				https://github.com/pelican-dev/panel.git
				synced 2025-11-04 13:46:51 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			22 lines
		
	
	
		
			550 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			550 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
<?php
 | 
						|
 | 
						|
namespace Pterodactyl\Exceptions\Service;
 | 
						|
 | 
						|
use Throwable;
 | 
						|
use Pterodactyl\Exceptions\DisplayException;
 | 
						|
 | 
						|
class ServiceLimitExceededException extends DisplayException
 | 
						|
{
 | 
						|
    /**
 | 
						|
     * Exception thrown when something goes over a defined limit, such as allocated
 | 
						|
     * ports, tasks, databases, etc.
 | 
						|
     *
 | 
						|
     * @param string $message
 | 
						|
     * @param \Throwable|null $previous
 | 
						|
     */
 | 
						|
    public function __construct(string $message, Throwable $previous = null)
 | 
						|
    {
 | 
						|
        parent::__construct($message, $previous, self::LEVEL_WARNING);
 | 
						|
    }
 | 
						|
}
 |