Exception: Cassandra::Errors::ProtocolError
- Inherits:
-
ClientError
- Object
- StandardError
- ClientError
- Cassandra::Errors::ProtocolError
- Defined in:
- lib/cassandra/errors.rb
Overview
Raised when some client message triggered a protocol violation (for instance a QUERY message is sent before a STARTUP one has been sent)
Instance Method Summary collapse
-
#execution_info ⇒ Cassandra::Execution::Info
Query execution information, such as number of retries and all tried hosts, etc.
Instance Method Details
#execution_info ⇒ Cassandra::Execution::Info
Query execution information, such as number of retries and all tried hosts, etc.
526 527 528 529 530 531 532 533 534 535 536 |
# File 'lib/cassandra/errors.rb', line 526 def execution_info @info ||= Execution::Info.new(@payload, @warnings, @keyspace, @statement, @options, @hosts, @consistency, @retries, nil) end |