class InvalidSelector in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/jcalderonzumba/gastonjs/src/Exception/InvalidSelector.php \Zumba\GastonJS\Exception\InvalidSelector
Class InvalidSelector @package Zumba\GastonJS\Exception
Hierarchy
- class \Zumba\GastonJS\Exception\ClientError extends \Zumba\GastonJS\Exception\Exception
- class \Zumba\GastonJS\Exception\InvalidSelector
Expanded class hierarchy of InvalidSelector
File
- vendor/
jcalderonzumba/ gastonjs/ src/ Exception/ InvalidSelector.php, line 9
Namespace
Zumba\GastonJS\ExceptionView source
class InvalidSelector extends ClientError {
/**
* Gets the method of selection
* @return string
*/
public function getMethod() {
return $this->response["error"]["args"][0];
}
/**
* Gets the selector related to the method
* @return string
*/
public function getSelector() {
return $this->response["error"]["args"][1];
}
/**
* @return string
*/
public function message() {
return "The browser raised a syntax error while trying to evaluate" . $this
->getMethod() . " selector " . $this
->getSelector();
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ClientError:: |
protected | property | @var mixed | |
ClientError:: |
public | function | ||
ClientError:: |
public | function | ||
ClientError:: |
public | function | 4 | |
InvalidSelector:: |
public | function | Gets the method of selection | |
InvalidSelector:: |
public | function | Gets the selector related to the method | |
InvalidSelector:: |
public | function |