| 1 | <?php |
||
| 9 | class FileException extends Exception |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @param string $filePath |
||
| 13 | * |
||
| 14 | * @return FileException |
||
| 15 | */ |
||
| 16 | public static function missingFile(string $filePath): self |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @param string $filePath |
||
| 23 | * |
||
| 24 | * @return FileException |
||
| 25 | */ |
||
| 26 | public static function cantOpenFile(string $filePath): self |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @param string $filePath |
||
| 33 | * |
||
| 34 | * @return FileException |
||
| 35 | */ |
||
| 36 | public static function cantSaveFile(string $filePath): self |
||
| 40 | |||
| 41 | /** |
||
| 42 | * @param string $filePath |
||
| 43 | * |
||
| 44 | * @return FileException |
||
| 45 | */ |
||
| 46 | public static function cantDeleteFile(string $filePath): self |
||
| 50 | } |
||
| 51 |