HumHub Documentation (unofficial)

UnexpectedResponseException extends RuntimeException
in package
implements PhpWebDriverExceptionInterface

Exception thrown on invalid or unexpected server response.

Table of Contents

Interfaces

PhpWebDriverExceptionInterface
Common interface to identify all exceptions thrown in php-webdriver (both those of WebDriver protocol and internal).

Methods

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

Methods

forCapabilitiesRetrievalError()

public static forCapabilitiesRetrievalError(Exception $previousException) : self
Parameters
$previousException : Exception
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