Exception: MongoMapper::DuplicateMigrationNameError
- Inherits:
-
MongoMapperError
- Object
- StandardError
- MongoMapperError
- MongoMapper::DuplicateMigrationNameError
- Defined in:
- lib/mongo_mapper/exceptions.rb
Overview
:nodoc:
Instance Method Summary collapse
-
#initialize(name) ⇒ DuplicateMigrationNameError
constructor
A new instance of DuplicateMigrationNameError.
Constructor Details
#initialize(name) ⇒ DuplicateMigrationNameError
Returns a new instance of DuplicateMigrationNameError.
14 15 16 |
# File 'lib/mongo_mapper/exceptions.rb', line 14 def initialize(name) super("Multiple migrations have the name #{name}") end |