Files
panel/app/Exceptions/Service/ServiceLimitExceededException.php

19 lines
458 B
PHP
Raw Normal View History

2020-06-28 14:41:22 -07:00
<?php
2024-03-12 22:39:16 -04:00
namespace App\Exceptions\Service;
2020-06-28 14:41:22 -07:00
2024-03-12 22:39:16 -04:00
use App\Exceptions\DisplayException;
2025-09-24 13:34:19 +02:00
use Throwable;
2020-06-28 14:41:22 -07:00
class ServiceLimitExceededException extends DisplayException
{
/**
* Exception thrown when something goes over a defined limit, such as allocated
* ports, tasks, databases, etc.
*/
public function __construct(string $message, ?Throwable $previous = null)
2020-06-28 14:41:22 -07:00
{
parent::__construct($message, $previous, self::LEVEL_WARNING);
}
}