6cfe55f
1
2
3
4
5
6
7
8
9
10
11
12
13
# exceptions.py from app.enmus.exception import ProviderErrorEnum class ProviderError(Exception): def __init__(self, message: str,code: ProviderErrorEnum) -> None: super().__init__(message) self.code=code self.message = message