class WebDriverCurlException extends UnexpectedResponseException (View source)

deprecated To be replaced with UnexpectedResponseException in 2.0

Methods

forError(string $message)

No description

forJsonDecodingError(int $jsonLastError, string $rawResults)

No description

forCurlError(string $httpMethod, string $url, string $curlError, array|null $params)

No description

Details

static UnexpectedResponseException forError(string $message)

No description

Parameters

string $message

Return Value

UnexpectedResponseException

static UnexpectedResponseException forElementNotArray($response)

No description

Parameters

$response

Return Value

UnexpectedResponseException

static UnexpectedResponseException forJsonDecodingError(int $jsonLastError, string $rawResults)

No description

Parameters

int $jsonLastError
string $rawResults

Return Value

UnexpectedResponseException

static UnexpectedResponseException forCapabilitiesRetrievalError(Exception $previousException)

No description

Parameters

Exception $previousException

Return Value

UnexpectedResponseException

static WebDriverCurlException forCurlError(string $httpMethod, string $url, string $curlError, array|null $params)

No description

Parameters

string $httpMethod
string $url
string $curlError
array|null $params

Return Value

WebDriverCurlException