Skip to content

Commit

Permalink
chore: Added RangeNotSatisfiableException
Browse files Browse the repository at this point in the history
  • Loading branch information
martastain committed Jul 3, 2024
1 parent c8747ee commit 2b66246
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions ayon_server/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,13 @@ class UnsupportedMediaException(AyonException):
status: int = 415


class RangeNotSatisfiableException(AyonException):
"""Exception raised when a Range Request is not satisfiable."""

detail: str = "Range Not Satisfiable"
status: int = 416


class LowPasswordComplexityException(AyonException):
"""Exception raised when a new password doesn't meet the required complexity."""

Expand Down

0 comments on commit 2b66246

Please sign in to comment.