class CassandraMigrations::Errors::CassandraError

Public Class Methods

new(msg) click to toggle source
Calls superclass method
# 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