Conditions | 2 |
Paths | 2 |
Total Lines | 7 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Tests | 6 |
CRAP Score | 2 |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php namespace GameScan\Core\Exceptions; |
||
7 | 2 | public function __construct($message = "", $code = 0, \Exception $previous = null) |
|
8 | { |
||
9 | 2 | parent::__construct($message, $code, $previous); |
|
10 | 2 | if ($this->logException) { |
|
11 | 2 | \GameScan\Core\Tools\LoggerFactory::getLogger()->error("Exception thrown : " . $this); |
|
12 | 2 | } |
|
13 | 2 | } |
|
14 | } |
||
15 |