1 | <?php |
||
7 | class FileException extends \Exception |
||
8 | { |
||
9 | |||
10 | /** |
||
11 | * @param string $filepath |
||
12 | * |
||
13 | * @return FileException |
||
14 | */ |
||
15 | public static function missingFile(string $filepath) |
||
19 | |||
20 | /** |
||
21 | * @param string $filepath |
||
22 | * |
||
23 | * @return FileException |
||
24 | */ |
||
25 | public static function cantOpenFile(string $filepath) |
||
29 | |||
30 | /** |
||
31 | * @param string $filepath |
||
32 | * |
||
33 | * @return FileException |
||
34 | */ |
||
35 | public static function cantSaveFile(string $filepath) |
||
39 | } |
||
40 |