Exception: Cassandra::Errors::NoHostsAvailable

Inherits:
StandardError
  • Object
show all
Includes:
Cassandra::Error
Defined in:
lib/cassandra/errors.rb

Overview

This error is thrown when all attempted hosts raised a HostError during connection or query execution.

Instance Attribute Summary collapse

Instance Attribute Details

#errorsHash{Cassandra::Host => Cassandra::Errors::HostError} (readonly)

Returns a map of hosts to underlying exceptions.

Returns:



343
344
345
# File 'lib/cassandra/errors.rb', line 343

def errors
  @errors
end