| Conditions | 2 |
| Paths | 2 |
| Total Lines | 8 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 5 |
| CRAP Score | 2 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 37 | 8 | public function __construct(ResponseInterface $response, $message = '', Exception $previous = null) |
|
| 38 | { |
||
| 39 | 8 | $this->response = $response; |
|
| 40 | |||
| 41 | 8 | $message = (($message) ? $message . "\n" : '') . |
|
| 42 | 8 | $response; |
|
| 43 | |||
| 44 | 8 | parent::__construct($message, $response->getErrorCode(), $previous); |
|
| 45 | 8 | } |
|
| 55 |