pelican-panel-mirror/app/Exceptions/Service/ServiceLimitExceededException.php
2024-03-12 22:39:16 -04:00

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);
}
}