Exception to store and/or raise a message from a schema issue.
 
Definition at line 58 of file config.py.
 
◆ __init__()
      
        
          | searx.botdetection.config.SchemaIssue.__init__  | 
          ( | 
           |           self,  | 
        
        
           | 
           | 
          typing.Literal['warn', 'invalid'] |           level,  | 
        
        
           | 
           | 
          str |           msg ) | 
        
      
 
Definition at line 61 of file config.py.
   61    def __init__(self, level: typing.Literal['warn', 'invalid'], msg: str):
   62        self.level = level
   63        super().__init__(msg)
   64 
 
 
 
◆ __str__()
      
        
          | searx.botdetection.config.SchemaIssue.__str__  | 
          ( | 
           |           self | ) | 
           | 
        
      
 
Definition at line 65 of file config.py.
   65    def __str__(self):
   66        return f"[cfg schema {self.level}] {self.args[0]}"
   67 
   68 
 
 
 
◆ level
      
        
          | searx.botdetection.config.SchemaIssue.level = level | 
        
      
 
 
The documentation for this class was generated from the following file:
- /home/andrew/Documents/code/public/searxng/searx/botdetection/config.py