class IDConvertException(Exception):
    pass

class FileValidationError(IDConvertException):
    def __init__(self, message: str, error_code: str = 'FILE_INVALID'):
        self.message = message
        self.error_code = error_code
        super().__init__(message)

class InsufficientCreditsError(IDConvertException):
    pass

class ConversionError(IDConvertException):
    pass

class ExportParseError(IDConvertException):
    pass

class StorageError(IDConvertException):
    pass
