ProcessCrashedException

Playwright\Exception\ProcessCrashedException

Thrown when the Node sidecar crashes or exits unexpectedly. Includes exit code and a stderr excerpt for diagnostics.

extends TransportException

Methods

__construct()

function __construct( string $message, private readonly int $exitCode, private readonly string $stderrExcerpt, array $context = [], ?\Throwable $previous = null, )

getExitCode()

int
function getExitCode(): int

getStderrExcerpt()

string
function getStderrExcerpt(): string