Exception: CassandraMigrations::Errors::ClusterError

Inherits:
CassandraError
  • Object
show all
Defined in:
lib/cassandra_migrations/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(cluster_opts, e = nil) ⇒ ClusterError

Returns a new instance of ClusterError.



38
39
40
# File 'lib/cassandra_migrations/errors.rb', line 38

def initialize(cluster_opts, e = nil)
  super(%[Could not connect to cluster at #{cluster_opts}. Is Cassandra running? #{"(#{e.message})" if e}])
end