Error while getting the result of an XPath expression
| 94 | |
| 95 | |
| 96 | class SearxEngineXPathException(SearxEngineResponseException): |
| 97 | """Error while getting the result of an XPath expression""" |
| 98 | |
| 99 | def __init__(self, xpath_spec, message): |
| 100 | super().__init__(str(xpath_spec) + " " + message) |
| 101 | self.message = message |
| 102 | # str(xpath_spec) to deal with str and XPath instance |
| 103 | self.xpath_str = str(xpath_spec) |
no outgoing calls
no test coverage detected