You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

__init__.py 321B

12345678910
  1. from .general_error import *
  2. class RagFlowError(Exception):
  3. message = 'Unknown Rag Flow Error'
  4. def __init__(self, message=None, *args, **kwargs):
  5. message = str(message) if message is not None else self.message
  6. message = message.format(*args, **kwargs)
  7. super().__init__(message)