Version 1
[yaffs-website] / vendor / jcalderonzumba / gastonjs / src / Exception / ClientError.php
diff --git a/vendor/jcalderonzumba/gastonjs/src/Exception/ClientError.php b/vendor/jcalderonzumba/gastonjs/src/Exception/ClientError.php
new file mode 100644 (file)
index 0000000..06be87b
--- /dev/null
@@ -0,0 +1,36 @@
+<?php
+
+namespace Zumba\GastonJS\Exception;
+
+/**
+ * Class ClientError
+ * @package Zumba\GastonJS\Exception
+ */
+class ClientError extends \Exception {
+
+  /** @var mixed */
+  protected $response;
+
+  /**
+   * @param mixed $response
+   */
+  public function __construct($response) {
+    $this->response = $response;
+  }
+
+  /**
+   * @return mixed
+   */
+  public function getResponse() {
+    return $this->response;
+  }
+
+  /**
+   * @param mixed $response
+   */
+  public function setResponse($response) {
+    $this->response = $response;
+  }
+
+
+}