예제 #1
0
 /**
  * @inheritdoc
  */
 public function __construct($message = self::DEFAULT_MESSAGE, $code = Status::UNAUTHORIZED, \Exception $previous = null)
 {
     parent::__construct($message, $code, $previous);
 }
예제 #2
0
 /**
  * @param array $response
  */
 public function __construct($response)
 {
     parent::__construct($response);
     $this->message = $this->message();
 }
예제 #3
0
 /**
  * Constructor.
  */
 public function __construct()
 {
     parent::__construct("You've been rate limited, try again later");
 }
예제 #4
0
 /**
  * @param mixed $node
  * @param mixed $response
  */
 public function __construct($node, $response)
 {
     $this->node = $node;
     parent::__construct($response);
 }