WebDriverCurlException
extends UnexpectedResponseException
in package
Exception thrown on invalid or unexpected server response.
Tags
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
selfforCurlError()
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
selfforElementNotArray()
public
static forElementNotArray(mixed $response) : self
Parameters
- $response : mixed
Return values
selfforError()
public
static forError(string $message) : self
Parameters
- $message : string
Return values
selfforJsonDecodingError()
public
static forJsonDecodingError(int $jsonLastError, string $rawResults) : self
Parameters
- $jsonLastError : int
- $rawResults : string