Files
2026-07-13 12:28:11 +08:00

13 lines
277 B
Python

# 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