Ruby Driver for Apache Cassandra
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
Errors
Errors::ClientError
Errors::DecodingError
Errors::EncodingError
Errors::ExecutionError
Errors::IOError
Errors::InternalError
Errors::NoHostsAvailable
Errors::ServerError
Errors::TimeoutError
Errors::ValidationError