Exception: Droonga::Searcher::MissingSourceParameter
- Inherits:
-
ErrorMessages::BadRequest
- Object
- StandardError
- Error
- ErrorMessage
- ErrorMessages::BadRequest
- Droonga::Searcher::MissingSourceParameter
- Defined in:
- lib/droonga/searcher.rb
Constant Summary
Constants inherited from ErrorMessages::BadRequest
ErrorMessages::BadRequest::STATUS_CODE
Constants inherited from ErrorMessage
Instance Attribute Summary
Attributes inherited from ErrorMessage
Instance Method Summary collapse
-
#initialize(query, queries) ⇒ MissingSourceParameter
constructor
A new instance of MissingSourceParameter.
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 |