18 lines
		
	
	
		
			443 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			443 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
<?php
 | 
						|
 | 
						|
namespace App\Exceptions\Service;
 | 
						|
 | 
						|
use App\Exceptions\DisplayException;
 | 
						|
 | 
						|
class ServiceLimitExceededException extends DisplayException
 | 
						|
{
 | 
						|
    /**
 | 
						|
     * Exception thrown when something goes over a defined limit, such as allocated
 | 
						|
     * ports, tasks, databases, etc.
 | 
						|
     */
 | 
						|
    public function __construct(string $message, \Throwable $previous = null)
 | 
						|
    {
 | 
						|
        parent::__construct($message, $previous, self::LEVEL_WARNING);
 | 
						|
    }
 | 
						|
}
 |