Skip to content

RequestTimedoutException

Qubus Exception Class

This extends the default BaseException class to allow converting exceptions to and from Error objects.

Unfortunately, because an Error object may contain multiple messages and error codes, only the first message for the first error code in the instance will be accessible through the exception's methods.

Methods

__construct

public __construct(string $message = 'A process further down the request chain failed to respond in time. ' . 'You can try again but you might get the same response if the server ' . 'load or the problem persists downstream.', int $code = 408, ?\Throwable $previous = null): mixed

Parameters:

Parameter Type Description
$message string
$code int
$previous ?\Throwable

Inherited methods

__construct

public __construct(?string $message = '', int $code, ?\Throwable $previous = null): mixed

Parameters:

Parameter Type Description
$message ?string
$code int
$previous ?\Throwable

Throws:


__toString

public __toString(): string


Automatically generated on 2025-10-13