Exception: ThinkingSphinx::SphinxError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- ThinkingSphinx::SphinxError
- Defined in:
- lib/thinking_sphinx.rb
Overview
A SphinxError occurs when Sphinx responds with an error due to problematic queries or indexes.
Instance Attribute Summary collapse
-
#results ⇒ Object
Returns the value of attribute results.
Instance Method Summary collapse
-
#initialize(message = nil, results = nil) ⇒ SphinxError
constructor
A new instance of SphinxError.
Constructor Details
#initialize(message = nil, results = nil) ⇒ SphinxError
Returns a new instance of SphinxError.
54 55 56 57 |
# File 'lib/thinking_sphinx.rb', line 54 def initialize( = nil, results = nil) super() self.results = results end |
Instance Attribute Details
#results ⇒ Object
Returns the value of attribute results.
53 54 55 |
# File 'lib/thinking_sphinx.rb', line 53 def results @results end |