Exception: Droonga::Searcher::UnknownSource

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

Constant Summary

Constants inherited from ErrorMessages::NotFound

ErrorMessages::NotFound::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(source, queries) ⇒ UnknownSource

Returns a new instance of UnknownSource.



42
43
44
45
46
# File 'lib/droonga/searcher.rb', line 42

def initialize(source, queries)
  super("Source not found: <#{source}> " +
          "It must be a name of an existing table or another query.",
        queries)
end