Exception: Cassandra::Errors::UnpreparedError

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

Overview

Note:

Seeing this error can be considered a Ruby Driver bug as it should handle automatic re-preparing internally.

Raised when a prepared statement tries to be executed and the provided prepared statement ID is not known by this host

Instance Attribute Summary collapse

Attributes included from ValidationError

#statement

Instance Attribute Details

#idString (readonly)

Returns prepared statement id that triggered the error.

Returns:

  • (String)

    prepared statement id that triggered the error



254
255
256
# File 'lib/cassandra/errors.rb', line 254

def id
  @id
end