Exception: CassandraMigrations::Errors::UnexistingKeyspaceError

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

Instance Method Summary collapse

Constructor Details

#initialize(keyspace, e = nil) ⇒ UnexistingKeyspaceError

Returns a new instance of UnexistingKeyspaceError.



32
33
34
# File 'lib/cassandra_migrations/errors.rb', line 32

def initialize(keyspace, e = nil)
  super(%[Keyspace #{keyspace} does not exist. Run rake cassandra:create. #{"(#{e.message})" if e}])
end