Patched to Drupal 8.4.8 level. See https://www.drupal.org/sa-core-2018-004 and patch...
[yaffs-website] / vendor / jcalderonzumba / gastonjs / src / Exception / FrameNotFound.php
1 <?php
2
3 namespace Zumba\GastonJS\Exception;
4
5 /**
6  * Class FrameNotFound
7  * @package Zumba\GastonJS\Exception
8  */
9 class FrameNotFound extends ClientError {
10
11   /**
12    * @return string
13    */
14   public function getName() {
15     //TODO: check stuff here
16     return current(reset($this->response["args"]));
17   }
18
19   /**
20    * @return string
21    */
22   public function message() {
23     //TODO: check the exception message stuff
24     return "The frame " . $this->getName() . " was not not found";
25   }
26 }