Exception: Cassandra::Errors::ServerError

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

Overview

Raised when something unexpected happened. This indicates a server-side bug.

Instance Method Summary collapse

Instance Method Details

#execution_infoCassandra::Execution::Info

Query execution information, such as number of retries and all tried hosts, etc.



74
75
76
77
78
79
80
81
82
83
84
# File 'lib/cassandra/errors.rb', line 74

def execution_info
  @info ||= Execution::Info.new(@payload,
                                @warnings,
                                @keyspace,
                                @statement,
                                @options,
                                @hosts,
                                @consistency,
                                @retries,
                                nil)
end