| 1 | <?php |
||
| 5 | class RequestException extends \Exception |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * @var string |
||
| 9 | */ |
||
| 10 | protected $errorCode; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * @var string |
||
| 14 | */ |
||
| 15 | private $requestBody; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @param string $message |
||
| 19 | * @param string $requestBody |
||
| 20 | */ |
||
| 21 | public function __construct($message, $requestBody) |
||
| 38 | |||
| 39 | /** |
||
| 40 | * @return mixed |
||
| 41 | */ |
||
| 42 | public function getRequestBody() |
||
| 46 | |||
| 47 | /** |
||
| 48 | * @return string |
||
| 49 | */ |
||
| 50 | public function getErrorCode() |
||
| 54 | } |
||
| 55 |