| Conditions | 1 |
| Paths | 1 |
| Total Lines | 15 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | public function __construct( |
||
| 16 | string $message = '', |
||
| 17 | int $code = 0, |
||
| 18 | ?Throwable $previous = null, |
||
| 19 | ?Response $response = null, |
||
| 20 | ?int $statusCode = null, |
||
| 21 | ?string $statusMessage = null, |
||
| 22 | ?array $errors = [] |
||
| 23 | ) { |
||
| 24 | parent::__construct($message, $code, $previous); |
||
| 25 | |||
| 26 | $this->response = $response; |
||
| 27 | $this->statusCode = $statusCode; |
||
| 28 | $this->statusMessage = $statusMessage; |
||
| 29 | $this->errors = $errors; |
||
| 30 | } |
||
| 51 | } |