Exception: CassandraMigrations::Errors::ClusterError
- Inherits:
-
CassandraError
- Object
- StandardError
- CassandraError
- CassandraMigrations::Errors::ClusterError
- Defined in:
- lib/cassandra_migrations/errors.rb
Instance Method Summary collapse
-
#initialize(cluster_opts, e = nil) ⇒ ClusterError
constructor
A new instance of ClusterError.
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.})" if e}]) end |