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