You are here

ClientError.php in Zircon Profile 8.0

Same filename and directory in other branches
  1. 8 vendor/jcalderonzumba/gastonjs/src/Exception/ClientError.php

File

vendor/jcalderonzumba/gastonjs/src/Exception/ClientError.php
View source
<?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;
  }

}

Classes

Namesort descending Description
ClientError Class ClientError @package Zumba\GastonJS\Exception