mirror of
https://github.com/stan220/testcontainers-php.git
synced 2026-09-08 16:29:29 +00:00
15 lines
426 B
PHP
15 lines
426 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Testcontainers\Exception;
|
|
|
|
class ContainerWaitingTimeoutException extends ContainerNotReadyException
|
|
{
|
|
public function __construct(string $containerId, ?string $message = null, ?\Throwable $previous = null)
|
|
{
|
|
$message ??= sprintf('Timeout reached while waiting for container %s', $containerId);
|
|
parent::__construct($message, $containerId, $previous);
|
|
}
|
|
}
|