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