Exception raised when an item is not found in the cache.
| 10 | |
| 11 | |
| 12 | class CacheMissException(Exception): |
| 13 | """Exception raised when an item is not found in the cache.""" |
| 14 | def __init__(self, key): |
| 15 | self.key = key |
| 16 | super().__init__(f"Cache miss for key: '{key}'") |
| 17 | |
| 18 | def get_directory_path(file_path): |
| 19 | return os.path.dirname(file_path) |
no outgoing calls
no test coverage detected