diff --git a/src/webqueue2api/parser/errors.py b/src/webqueue2api/parser/errors.py new file mode 100644 index 0000000..34bc912 --- /dev/null +++ b/src/webqueue2api/parser/errors.py @@ -0,0 +1,4 @@ +class ItemDoesNotExistError(Exception): + def __init__(self, path: str): + self.message = f"File {path} not found." + super().__init__(self.message) \ No newline at end of file