1 | <?php |
||
16 | class BadResourceException extends \InvalidArgumentException |
||
17 | { |
||
18 | /** |
||
19 | * Create error for incorrect resource |
||
20 | * |
||
21 | * @param string $type Resource type |
||
22 | * |
||
23 | * @return BadResourceException |
||
24 | */ |
||
25 | public static function notSocketResource($type) |
||
31 | |||
32 | /** |
||
33 | * Can not get local socket address |
||
34 | * |
||
35 | * @return BadResourceException |
||
36 | */ |
||
37 | public static function canNotObtainLocalAddress() |
||
41 | } |
||
42 |