Template
mirror of
https://github.com/ijaric/voice_assistant.git
synced 2026-09-16 04:10:20 +03:00
fix add errors
This commit is contained in:
@@ -0,0 +1,5 @@
|
|||||||
|
from .liveness_probe import router as health_router
|
||||||
|
|
||||||
|
__all__ = [
|
||||||
|
"health_router",
|
||||||
|
]
|
||||||
@@ -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",
|
||||||
|
]
|
||||||
Reference in New Issue
Block a user