You are here

public function JavascriptError::__construct in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/jcalderonzumba/gastonjs/src/Exception/JavascriptError.php \Zumba\GastonJS\Exception\JavascriptError::__construct()

Parameters

array $response:

Overrides ClientError::__construct

File

vendor/jcalderonzumba/gastonjs/src/Exception/JavascriptError.php, line 15

Class

JavascriptError
Class JavascriptError @package Zumba\GastonJS\Exception

Namespace

Zumba\GastonJS\Exception

Code

public function __construct($response) {
  parent::__construct($response);
  $this->message = $this
    ->message();
}