| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 19 | public function __construct($message, $errorCode = null, \Exception $previous = null) |
||
| 20 | { |
||
| 21 | // Since the error code is generally a string, we store it in a local property |
||
| 22 | // rather than passing it on to the parent constructor, which expects an integer. |
||
| 23 | $this->errorCode = $errorCode; |
||
| 24 | |||
| 25 | parent::__construct($message, 0, $previous); |
||
| 26 | } |
||
| 27 | |||
| 36 |