HumHub Documentation (unofficial)

WebDriverCurlException extends UnexpectedResponseException
in package

Exception thrown on invalid or unexpected server response.

Tags
deprecated

To be replaced with UnexpectedResponseException in 2.0

Table of Contents

Methods

forCapabilitiesRetrievalError()  : self
forCurlError()  : self
forElementNotArray()  : self
forError()  : self
forJsonDecodingError()  : self

Methods

forCapabilitiesRetrievalError()

public static forCapabilitiesRetrievalError(Exception $previousException) : self
Parameters
$previousException : Exception
Return values
self

forCurlError()

public static forCurlError(string $httpMethod, string $url, string $curlError, array<string|int, mixed>|null $params) : self
Parameters
$httpMethod : string
$url : string
$curlError : string
$params : array<string|int, mixed>|null
Return values
self

forElementNotArray()

public static forElementNotArray(mixed $response) : self
Parameters
$response : mixed
Return values
self

forJsonDecodingError()

public static forJsonDecodingError(int $jsonLastError, string $rawResults) : self
Parameters
$jsonLastError : int
$rawResults : string
Return values
self

        
On this page

Search results