Exception: Droonga::Searcher::MissingSourceParameter

Inherits:
ErrorMessages::BadRequest show all
Defined in:
lib/droonga/searcher.rb

Constant Summary

Constants inherited from ErrorMessages::BadRequest

ErrorMessages::BadRequest::STATUS_CODE

Constants inherited from ErrorMessage

ErrorMessage::STATUS_CODE

Instance Attribute Summary

Attributes inherited from ErrorMessage

#detail

Instance Method Summary collapse

Methods inherited from ErrorMessage

#name, #response_body, #status_code

Constructor Details

#initialize(query, queries) ⇒ MissingSourceParameter

Returns a new instance of MissingSourceParameter.



34
35
36
37
38
# File 'lib/droonga/searcher.rb', line 34

def initialize(query, queries)
  super("[#{query}] No source is specified. " +
          "Query must have a valid source.",
        queries)
end