Skip to content

Commit

Permalink
Merge pull request #328 from seifibrahim32/master
Browse files Browse the repository at this point in the history
Added some exceptions for some usages
  • Loading branch information
frankrousseau authored Aug 19, 2024
2 parents 9705a5b + 0a3288a commit 05926a7
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions gazu/exception.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,3 +75,15 @@ class TaskMustBeADictException(Exception):
"""
Error raised when a task should be a dict.
"""


class FileDoesntExistException(Exception):
"""
Error raised when a file should be existed when we submit a preview.
"""


class ProjectDoesntExistException(Exception):
"""
Error raised when a project isn't available.
"""

0 comments on commit 05926a7

Please sign in to comment.