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

18 lines
459 B
PHP
Raw Permalink 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.
*/
2023-02-23 19:30:16 +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);
}
}