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)
-
- (Object) results
Returns the value of attribute results.
Instance Method Summary (collapse)
-
- (SphinxError) initialize(message = nil, results = nil)
constructor
A new instance of SphinxError.
Constructor Details
- (SphinxError) initialize(message = nil, results = nil)
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
- (Object) results
Returns the value of attribute results
53 54 55 |
# File 'lib/thinking_sphinx.rb', line 53 def results @results end |