Module: Cassandra::Error

Overview

Included in all Errors raised by the driver to allow rescuing from any driver-specific error.

Examples:

Catching all driver errors

begin
  cluster = Cassandra.cluster
  session = cluster.connect
rescue Cassandra::Error => e
  puts "#{e.class.name}: #{e.message}"
end

See Also: