30 lines
494 B
PHP
30 lines
494 B
PHP
<?php
|
|
declare(strict_types=1);
|
|
|
|
namespace HttpServer\Exception;
|
|
|
|
|
|
|
|
use JetBrains\PhpStorm\Pure;
|
|
use Throwable;
|
|
|
|
/**
|
|
* Class ExitException
|
|
* @package HttpServer\Exception
|
|
*/
|
|
class ExitException extends \Exception
|
|
{
|
|
|
|
/**
|
|
* ExitException constructor.
|
|
* @param string $message
|
|
* @param int $code
|
|
* @param Throwable|null $previous
|
|
*/
|
|
#[Pure] public function __construct($message = "", $code = 0, Throwable $previous = null)
|
|
{
|
|
parent::__construct($message, $code, $previous);
|
|
}
|
|
|
|
}
|