LogicException
extends LogicException
in package
implements
PhpWebDriverExceptionInterface
Exception thrown when error in program logic occurs. This includes invalid domain data and unexpected data states.
Table of Contents
Interfaces
- PhpWebDriverExceptionInterface
- Common interface to identify all exceptions thrown in php-webdriver (both those of WebDriver protocol and internal).
Methods
- forError() : self
- forInvalidHttpMethod() : self
Methods
forError()
public
static forError(string $message) : self
Parameters
- $message : string
Return values
selfforInvalidHttpMethod()
public
static forInvalidHttpMethod(string $url, string $httpMethod, array<string|int, mixed> $params) : self
Parameters
- $url : string
- $httpMethod : string
- $params : array<string|int, mixed>