PluginProbe
ManageWP Worker / 4.0.1
ManageWP Worker v4.0.1
4.9.38 4.9.37 4.9.36 4.9.35 4.9.34 3.8.7 3.8.8 3.9.0 3.9.1 3.9.10 3.9.11 3.9.12 3.9.13 3.9.14 3.9.15 3.9.16 3.9.17 3.9.18 3.9.19 3.9.2 3.9.20 3.9.21 3.9.22 3.9.23 3.9.24 All 73 releases
worker / src / Dropbox / Exception / BadResponseCode.php

BadResponseCode.php in ManageWP Worker 4.0.1, at src/Dropbox/Exception/BadResponseCode.php

33 lines 674 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 /**
4 * Thrown when the the Dropbox server responds with an HTTP status code we didn't expect.
5 */
6 final class Dropbox_Exception_BadResponseCode extends Dropbox_Exception_BadResponse
7 {
8 /** @var int */
9 private $statusCode;
10
11 /**
12 * @param string $message
13 * @param int $statusCode
14 *
15 * @internal
16 */
17 public function __construct($message, $statusCode)
18 {
19 parent::__construct($message);
20 $this->statusCode = $statusCode;
21 }
22
23 /**
24 * The HTTP status code returned by the Dropbox server.
25 *
26 * @return int
27 */
28 public function getStatusCode()
29 {
30 return $this->statusCode;
31 }
32 }
33