Total Complexity | 1 |
Total Lines | 15 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
14 | class SocketClientException extends \Exception |
||
15 | { |
||
16 | |||
17 | /** @var int An integer code for the exception. */ |
||
18 | public const CODE = 0; |
||
19 | |||
20 | /** |
||
21 | * Basic Exception Constructor |
||
22 | * @param string $message The Exceptions message: this type requires it be related to a missing item. |
||
23 | * @param int $code The user defined exception code. |
||
24 | * @param null|\Exception $previous If present, the previous exception if nested exception. |
||
25 | */ |
||
26 | public function __construct($message, $code = self::CODE, \Exception $previous = null) |
||
31 |