File size: 253 Bytes
6cfe55f
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
# exceptions.py
from app.enmus.exception import ProviderErrorEnum


class NoteError(Exception):
    def __init__(self, message: str,code: ProviderErrorEnum) -> None:
        super().__init__(message)
        self.code=code
        self.message = message