Exception: Nearline::SchemaVersionException

Inherits:
Exception
  • Object
show all
Defined in:
lib/nearline/module_methods.rb

Class Method Summary collapse

Class Method Details

.for_version(v) ⇒ Object



159
160
161
162
163
164
# File 'lib/nearline/module_methods.rb', line 159

def self.for_version(v)
  SchemaVersionException.new("Schema \#{v} is not the same version as nearline database \nversion \#{Nearline::DB_VERSION} used in Nearline \#{Nearline::VERSION}!        \n  END_ERROR\nend\n")