Exception: Solr::Errors::SolrConnectionFailedError
- Inherits:
-
StandardError
- Object
- StandardError
- Solr::Errors::SolrConnectionFailedError
- Defined in:
- lib/solr/errors/solr_connection_failed_error.rb
Instance Method Summary collapse
-
#initialize(solr_url_errors) ⇒ SolrConnectionFailedError
constructor
A new instance of SolrConnectionFailedError.
Constructor Details
#initialize(solr_url_errors) ⇒ SolrConnectionFailedError
Returns a new instance of SolrConnectionFailedError.
4 5 6 7 8 9 10 11 |
# File 'lib/solr/errors/solr_connection_failed_error.rb', line 4 def initialize(solr_url_errors) = solr_url_errors.map { |url, error| "[#{url}] #{error}" }.join("\n") = <<~MESSAGE Could not connect to any available solr instance: #{} MESSAGE super() end |