Skip to content

Commit

Permalink
add ServiceUnavailableError
Browse files Browse the repository at this point in the history
  • Loading branch information
felipao-mx committed Jan 16, 2024
1 parent ab48567 commit fe333a5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions fast_agave/exc.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@ class FastAgaveViewError(FastAgaveError):
status_code: int = 500


@dataclass
class ServiceUnavailableError(FastAgaveError):
status_code = 503


@dataclass
class RetryTask(Exception):
countdown: Optional[int] = None
2 changes: 1 addition & 1 deletion fast_agave/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.14.0'
__version__ = '0.14.1.dev0'

0 comments on commit fe333a5

Please sign in to comment.