public function BrowserError::javascriptError in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/jcalderonzumba/gastonjs/src/Exception/BrowserError.php \Zumba\GastonJS\Exception\BrowserError::javascriptError()
Return value
1 call to BrowserError::javascriptError()
- BrowserError::message in vendor/
jcalderonzumba/ gastonjs/ src/ Exception/ BrowserError.php - Returns error message TODO: check how to proper implement if we have exceptions
File
- vendor/
jcalderonzumba/ gastonjs/ src/ Exception/ BrowserError.php, line 31
Class
- BrowserError
- Class BrowserError @package Zumba\GastonJS\Exception
Namespace
Zumba\GastonJS\ExceptionCode
public function javascriptError() {
//TODO: this need to be check, i don't know yet what comes in response
return new JSErrorItem($this->response["error"]["args"][0], $this->response["error"]["args"][1]);
}