.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 = message
 
 xpath_str = str(xpath_spec)
 

Detailed Description

Syntax error in a XPATH

Definition at line 40 of file exceptions.py.

Constructor & Destructor Documentation

◆ __init__()

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

Definition at line 43 of file exceptions.py.

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

Member Data Documentation

◆ message

searx.exceptions.SearxXPathSyntaxException.message = message

Definition at line 45 of file exceptions.py.

◆ xpath_str

searx.exceptions.SearxXPathSyntaxException.xpath_str = str(xpath_spec)

Definition at line 47 of file exceptions.py.


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