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.
|
|
|
|
*/
|
2022-11-29 17:53:59 +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);
|
|
|
|
}
|
|
|
|
}
|