PteroTheme/app/Exceptions/Service/ServiceLimitExceededExcepti...

18 lines
459 B
PHP
Raw Normal View History

2020-06-28 22:41:22 +01: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 22:41:22 +01:00
{
parent::__construct($message, $previous, self::LEVEL_WARNING);
}
}