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

Public Member Functions

 __init__ (self, xpath_spec, message)
 

Public Attributes

 message = message
 
 xpath_str = str(xpath_spec)
 

Detailed Description

Error while getting the result of an XPath expression

Definition at line 111 of file exceptions.py.

Constructor & Destructor Documentation

◆ __init__()

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

Definition at line 114 of file exceptions.py.

114 def __init__(self, xpath_spec, message):
115 super().__init__(str(xpath_spec) + " " + message)
116 self.message = message
117 # str(xpath_spec) to deal with str and XPath instance
118 self.xpath_str = str(xpath_spec)

Member Data Documentation

◆ message

searx.exceptions.SearxEngineXPathException.message = message

Definition at line 116 of file exceptions.py.

◆ xpath_str

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

Definition at line 118 of file exceptions.py.


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