Exception: JayAPI::Elasticsearch::Errors::EndOfQueryResultsError
- Inherits:
-
ElasticsearchError
- Object
- StandardError
- JayAPI::Errors::Error
- ElasticsearchError
- JayAPI::Elasticsearch::Errors::EndOfQueryResultsError
- Defined in:
- lib/jay_api/elasticsearch/errors/end_of_query_results_error.rb
Overview
An error to be raised when an attempt is made to fetch more documents on a QueryResults class that has reached the end of the matched documents.
Instance Method Summary collapse
-
#initialize(message = nil) ⇒ EndOfQueryResultsError
constructor
:reek:ControlParameter (want to avoid the long string in as default value) Creates a new instance of the class with the specified message.
Constructor Details
#initialize(message = nil) ⇒ EndOfQueryResultsError
:reek:ControlParameter (want to avoid the long string in as default value) Creates a new instance of the class with the specified message.
16 17 18 |
# File 'lib/jay_api/elasticsearch/errors/end_of_query_results_error.rb', line 16 def initialize( = nil) super( || 'End of the query results reached') end |