Skip to content

Commit

Permalink
Create parser errors module and add ItemDoesNotExistError
Browse files Browse the repository at this point in the history
  • Loading branch information
campb303 committed Jun 16, 2021
1 parent 107828a commit 7e966e9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/webqueue2api/parser/errors.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
class ItemDoesNotExistError(Exception):
def __init__(self, path: str):
self.message = f"File {path} not found."
super().__init__(self.message)

0 comments on commit 7e966e9

Please sign in to comment.