1 | <?php |
||
13 | class ErrorResponseException extends Exception |
||
14 | { |
||
15 | /** |
||
16 | * @var int |
||
17 | */ |
||
18 | protected $requestId; |
||
19 | |||
20 | /** |
||
21 | * @var string |
||
22 | */ |
||
23 | protected $details; |
||
24 | |||
25 | /** |
||
26 | * @param string $message |
||
27 | * @param string $details |
||
28 | * @param int $code |
||
29 | * @param int $requestId |
||
30 | * @param \Exception $previous |
||
31 | */ |
||
32 | public function __construct($message, $details = '', $code = 0, $requestId = 0, \Exception $previous = null) |
||
38 | |||
39 | /** |
||
40 | * @return string |
||
41 | */ |
||
42 | public function __toString() |
||
49 | } |
||
50 |