class Cassandra::Errors::InvalidError
Raised when the query is syntactically correct but invalid.
Inherits
StandardErrorThis documentation is no longer maintained. For the latest information, see github.com/datastax/ruby-driver
Raised when the query is syntactically correct but invalid.
begin
session.execute("CREATE TABLE users (user_id INT PRIMARY KEY)")
rescue Cassandra::Errors::InvalidError
endStandardError