class EmptyResponseException extends Exception (View source)

Methods

__construct(string $client, string $location)

Generates an exception giving information about the client which performed the request and the unreachable location.

mixed
getClient()

Returns the client instance that generated the exception.

string
getLocation()

Returns the URL that generated the exception.

Details

__construct(string $client, string $location)

Generates an exception giving information about the client which performed the request and the unreachable location.

Parameters

string $client
string $location

mixed getClient()

Returns the client instance that generated the exception.

Return Value

mixed

string getLocation()

Returns the URL that generated the exception.

Return Value

string