1 | <?php namespace DarkGold\Salesforce\Exceptions; |
||
3 | class RequestException extends \Exception |
||
4 | { |
||
5 | |||
6 | /** |
||
7 | * @var string |
||
8 | */ |
||
9 | protected $errorCode; |
||
10 | |||
11 | /** |
||
12 | * @var string |
||
13 | */ |
||
14 | private $requestBody; |
||
15 | |||
16 | /** |
||
17 | * @param string $message |
||
18 | * @param string $requestBody |
||
19 | */ |
||
20 | public function __construct($message, $requestBody) |
||
43 | |||
44 | /** |
||
45 | * @return mixed |
||
46 | */ |
||
47 | public function getRequestBody() |
||
51 | |||
52 | /** |
||
53 | * @return string |
||
54 | */ |
||
55 | public function getErrorCode() |
||
59 | |||
60 | } |