✨
This commit is contained in:
@ -6,4 +6,9 @@ class NoToken(Exception):
|
||||
class CannotConnectToService(Exception):
|
||||
def __init__(self, service: str) -> None:
|
||||
self.message = f"Cannot connect to {service}"
|
||||
super().__init__(self.message)
|
||||
|
||||
class ServiceNotProvided(Exception):
|
||||
def __init__(self, service: str) -> None:
|
||||
self.message = f"A {service} instance was not provided"
|
||||
super().__init__(self.message)
|
Reference in New Issue
Block a user