Exception: MongoMapper::UnknownMigrationVersionError

Inherits:
MongoMapperError
  • Object
show all
Defined in:
lib/mongo_mapper/exceptions.rb

Overview

:nodoc:

Instance Method Summary collapse

Constructor Details

#initialize(version) ⇒ UnknownMigrationVersionError

Returns a new instance of UnknownMigrationVersionError.



20
21
22
# File 'lib/mongo_mapper/exceptions.rb', line 20

def initialize(version)
  super("No migration with version number #{version}")
end