| Total Complexity | 2 |
| Total Lines | 14 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 23 | class TSocketException extends TNetworkException |
||
| 24 | { |
||
| 25 | /** |
||
| 26 | * Constructor. |
||
| 27 | * @param int $errorCode Network error code. |
||
| 28 | * @param string $errorMessage error message. default null to be filled in by |
||
| 29 | * PHP `socket_strError($errorCode)` |
||
| 30 | */ |
||
| 31 | public function __construct($errorCode, $errorMessage = null) |
||
| 39 |