Exception: Cassandra::Errors::InvalidError

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

Overview

Raised when the query is syntactically correct but invalid.

Examples:

Creating a table without selecting a keyspace

begin
  session.execute("CREATE TABLE users (user_id INT PRIMARY KEY)")
rescue Cassandra::Errors::InvalidError
end

See Also:

Instance Attribute Summary

Attributes included from ValidationError

#statement