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(<<-END_ERROR)
Schema #{v} is not the same version as nearline database 
version #{Nearline::DB_VERSION} used in Nearline #{Nearline::VERSION}!        
  END_ERROR
end