.oO SearXNG Developer Documentation Oo.
Loading...
Searching...
No Matches
searx.exceptions.SearxXPathSyntaxException Class Reference
+ Inheritance diagram for searx.exceptions.SearxXPathSyntaxException:
+ Collaboration diagram for searx.exceptions.SearxXPathSyntaxException:

Public Member Functions

 __init__ (self, xpath_spec, message)
 

Public Attributes

 message
 
 xpath_str
 

Detailed Description

Syntax error in a XPATH

Definition at line 39 of file exceptions.py.

Constructor & Destructor Documentation

◆ __init__()

searx.exceptions.SearxXPathSyntaxException.__init__ ( self,
xpath_spec,
message )

Definition at line 42 of file exceptions.py.

42 def __init__(self, xpath_spec, message):
43 super().__init__(str(xpath_spec) + " " + message)
44 self.message = message
45 # str(xpath_spec) to deal with str and XPath instance
46 self.xpath_str = str(xpath_spec)
47
48

Member Data Documentation

◆ message

searx.exceptions.SearxXPathSyntaxException.message

Definition at line 44 of file exceptions.py.

◆ xpath_str

searx.exceptions.SearxXPathSyntaxException.xpath_str

Definition at line 46 of file exceptions.py.


The documentation for this class was generated from the following file: