Skip to content

Commit

Permalink
add ServiceUnavailableError (#195)
Browse files Browse the repository at this point in the history
* add ServiceUnavailableError

* fix typehint

* version
  • Loading branch information
felipao-mx authored Jan 16, 2024
1 parent ab48567 commit 9054e51
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: int = 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'

0 comments on commit 9054e51

Please sign in to comment.