Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
pterodactyl
GitHub Repository: pterodactyl/panel
Path: blob/1.0-develop/app/Exceptions/Service/ServiceLimitExceededException.php
10266 views
1
<?php
2
3
namespace Pterodactyl\Exceptions\Service;
4
5
use Pterodactyl\Exceptions\DisplayException;
6
7
class ServiceLimitExceededException extends DisplayException
8
{
9
/**
10
* Exception thrown when something goes over a defined limit, such as allocated
11
* ports, tasks, databases, etc.
12
*/
13
public function __construct(string $message, ?\Throwable $previous = null)
14
{
15
parent::__construct($message, $previous, self::LEVEL_WARNING);
16
}
17
}
18
19