Minor dependency updates
[yaffs-website] / vendor / jcalderonzumba / gastonjs / src / Exception / ClientError.php
1 <?php
2
3 namespace Zumba\GastonJS\Exception;
4
5 /**
6  * Class ClientError
7  * @package Zumba\GastonJS\Exception
8  */
9 class ClientError extends \Exception {
10
11   /** @var mixed */
12   protected $response;
13
14   /**
15    * @param mixed $response
16    */
17   public function __construct($response) {
18     $this->response = $response;
19   }
20
21   /**
22    * @return mixed
23    */
24   public function getResponse() {
25     return $this->response;
26   }
27
28   /**
29    * @param mixed $response
30    */
31   public function setResponse($response) {
32     $this->response = $response;
33   }
34
35
36 }