view vendor/jcalderonzumba/gastonjs/src/Exception/FrameNotFound.php @ 0:4c8ae668cc8c

Initial import (non-working)
author Chris Cannam
date Wed, 29 Nov 2017 16:09:58 +0000
parents
children
line wrap: on
line source
<?php

namespace Zumba\GastonJS\Exception;

/**
 * Class FrameNotFound
 * @package Zumba\GastonJS\Exception
 */
class FrameNotFound extends ClientError {

  /**
   * @return string
   */
  public function getName() {
    //TODO: check stuff here
    return current(reset($this->response["args"]));
  }

  /**
   * @return string
   */
  public function message() {
    //TODO: check the exception message stuff
    return "The frame " . $this->getName() . " was not not found";
  }
}