| 1 | <?php |
||
| 7 | class CommandException extends Exception |
||
| 8 | { |
||
| 9 | const INVALID = 1000; |
||
| 10 | const NOT_FOUND = 2000; |
||
| 11 | /** |
||
| 12 | * @param string $name |
||
| 13 | * |
||
| 14 | * @return static |
||
| 15 | */ |
||
| 16 | 2 | public static function invalidCommand($name) |
|
| 23 | |||
| 24 | /** |
||
| 25 | * @param string $name |
||
| 26 | * |
||
| 27 | * @return static |
||
| 28 | */ |
||
| 29 | 2 | public static function notFound($name) |
|
| 36 | } |
||
| 37 |