Files
pterodactyl-panel/app/Exceptions/Service/ServiceLimitExceededException.php
T

21 lines
500 B
PHP
Raw Normal View History

2020-06-28 14:41:22 -07:00
<?php
2026-10-05 18:10:18 -04:00
declare(strict_types=1);
2020-06-28 14:41:22 -07:00
namespace Pterodactyl\Exceptions\Service;
use Pterodactyl\Exceptions\DisplayException;
2026-10-05 18:10:18 -04:00
use Throwable;
2020-06-28 14:41:22 -07:00
class ServiceLimitExceededException extends DisplayException
{
/**
* Exception thrown when something goes over a defined limit, such as allocated
* ports, tasks, databases, etc.
*/
2026-10-05 18:10:18 -04:00
public function __construct(string $message, ?Throwable $previous = null)
2020-06-28 14:41:22 -07:00
{
parent::__construct($message, $previous, self::LEVEL_WARNING);
}
}