Exception: CassandraMigrations::Errors::CassandraError
- Inherits:
-
StandardError
- Object
- StandardError
- CassandraMigrations::Errors::CassandraError
- Defined in:
- lib/cassandra_migrations/errors.rb
Direct Known Subclasses
ClientNotStartedError, ClusterError, ConnectionError, MigrationDefinitionError, MigrationNamingError, MissingConfigurationError, UnexistingKeyspaceError
Instance Method Summary collapse
-
#initialize(msg) ⇒ CassandraError
constructor
A new instance of CassandraError.
Constructor Details
#initialize(msg) ⇒ CassandraError
Returns a new instance of CassandraError.
9 10 11 12 13 14 15 16 |
# File 'lib/cassandra_migrations/errors.rb', line 9 def initialize(msg) # Makes all exception messages red if msg.frozen? super(msg.dup.red) else super(msg.red) end end |