Exception: MongoMapper::DuplicateMigrationVersionError

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

Overview

:nodoc:

Instance Method Summary collapse

Constructor Details

#initialize(version) ⇒ DuplicateMigrationVersionError

Returns a new instance of DuplicateMigrationVersionError.



8
9
10
# File 'lib/mongo_mapper/exceptions.rb', line 8

def initialize(version)
  super("Multiple migrations have the version number #{version}")
end