| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 34 | public function __construct(int $statusCode, string $error, string $description, $code = 0, Exception $previous = null) |
||
| 35 | { |
||
| 36 | $message = $this->toString($statusCode, $error, $description); |
||
| 37 | |||
| 38 | parent::__construct($message, $code, $previous); |
||
| 39 | |||
| 40 | $this->statusCode = $statusCode; |
||
| 41 | $this->error = $error; |
||
| 42 | $this->description = $description; |
||
| 43 | } |
||
| 83 | } |