CodeExplorer TimeoutException example
if (null !==
$this->error
) { throw new TransportException($this->errorMessage, 0,
$this->error
);
} return true;
} public function isFirst(): bool
{ $this->didThrow = true;
throw null !==
$this->error ?
new TransportException($this->errorMessage, 0,
$this->error
) :
new TimeoutException($this->errorMessage
);
} public function isLast(): bool
{ $this->didThrow = true;
throw null !==
$this->error ?
new TransportException($this->errorMessage, 0,
$this->error
) :
new TimeoutException($this->errorMessage
);
} public function getInformationalStatus(): ?array
{ $this->didThrow = true;