module Cassandra::Error
Included in all Errors raised by the driver to allow rescuing from any driver-specific error.
This documentation is no longer maintained. For the latest information, see github.com/datastax/ruby-driver
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