| Total Complexity | 3 |
| Total Lines | 20 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 7 | class DaftravelException extends Exception |
||
| 8 | { |
||
| 9 | protected mixed $response; |
||
| 10 | protected mixed $statusCode; |
||
| 11 | |||
| 12 | public function __construct($message = '', $code = 0, $previous = null, $response = null, $statusCode = null) |
||
| 13 | { |
||
| 14 | parent::__construct($message, $code, $previous); |
||
| 15 | $this->response = $response; |
||
| 16 | $this->statusCode = $statusCode; |
||
| 17 | } |
||
| 18 | |||
| 19 | public function getResponse() |
||
| 22 | } |
||
| 23 | |||
| 24 | public function getStatusCode() |
||
| 29 |