module Cassandra::Error
Included in all Errors raised by the driver to allow rescuing from any driver-specific error.
Included in all Errors raised by the driver to allow rescuing from any driver-specific error.
begin
cluster = Cassandra.cluster
session = cluster.connect
rescue Cassandra::Error => e
puts "#{e.class.name}: #{e.message}"
end