misc_pterodactyl-panel/app/Exceptions/Service/ServiceLimitExceededException.php

18 lines
459 B
PHP
Raw Normal View History

2020-06-28 21:41:22 +00:00
<?php
namespace Pterodactyl\Exceptions\Service;
use Pterodactyl\Exceptions\DisplayException;
class ServiceLimitExceededException extends DisplayException
{
/**
* Exception thrown when something goes over a defined limit, such as allocated
* ports, tasks, databases, etc.
*/
2023-02-23 19:30:16 +00:00
public function __construct(string $message, \Throwable $previous = null)
2020-06-28 21:41:22 +00:00
{
parent::__construct($message, $previous, self::LEVEL_WARNING);
}
}