1
0
mirror of https://github.com/ijaric/voice_assistant.git synced 2025-05-24 14:33:26 +00:00

fix add errors

This commit is contained in:
ksieuk 2023-09-28 21:28:13 +03:00
parent 5ddcfe32ad
commit 84bfcdac5b
2 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,5 @@
from .liveness_probe import router as health_router
__all__ = [
"health_router",
]

View File

@ -0,0 +1,22 @@
import typing
class ApplicationError(Exception):
def __init__(self, message: str, *args: typing.Any) -> None:
super().__init__(*args)
self.message = message
class DisposeError(ApplicationError):
pass
class StartServerError(ApplicationError):
pass
__all__ = [
"ApplicationError",
"DisposeError",
"StartServerError",
]