mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-31 10:01:53 +08:00
new snapshot api
This commit is contained in:
@@ -39,6 +39,11 @@ class ForbiddenError(HttpError):
|
||||
super().__init__("Forbidden", 403)
|
||||
|
||||
|
||||
class UnavailableError(HttpError):
|
||||
def __init__(self) -> None:
|
||||
super().__init__("Service Unavailable", 503)
|
||||
|
||||
|
||||
# =====
|
||||
@dataclasses.dataclass(frozen=True)
|
||||
class HttpExposed:
|
||||
|
||||
Reference in New Issue
Block a user