k911/swoole-bundle

View on GitHub
src/Server/Exception/UninitializedException.php

Summary

Maintainability
A
0 mins
Test Coverage
F
0%
<?php

declare(strict_types=1);

namespace K911\Swoole\Server\Exception;

/**
 * @internal
 */
final class UninitializedException extends \RuntimeException
{
    public static function make(): self
    {
        return new self('Swoole HTTP Server has not been setup yet. Please use attach method.');
    }
}