Exception: MongoMapper::IllegalMigrationNameError

Inherits:
MongoMapperError show all
Defined in:
lib/mongrations/exceptions.rb

Overview

:nodoc:

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ IllegalMigrationNameError

Returns a new instance of IllegalMigrationNameError.



26
27
28
# File 'lib/mongrations/exceptions.rb', line 26

def initialize(name)
  super("Illegal name for migration file: #{name}\n\t(only lower case letters, numbers, and '_' allowed)")
end