class ServiceUnavailableHttpException extends HttpException

Methods

__construct(int|string $retryAfter = null, $message = null, Exception $previous = null, $code = 0)

No description

int
getStatusCode()

Returns the status code.

array
getHeaders()

Returns response headers.

Details

at line 25
__construct(int|string $retryAfter = null, $message = null, Exception $previous = null, $code = 0)

Parameters

int|string $retryAfter The number of seconds or HTTP-date after which the request may be retried
$message
Exception $previous
$code

in HttpException at line 32
int getStatusCode()

Returns the status code.

Return Value

int An HTTP response status code

in HttpException at line 37
array getHeaders()

Returns response headers.

Return Value

array Response headers