Exception: Hanami::CLI::InvalidMigrationNameError
- Defined in:
- lib/hanami/cli/errors.rb
Overview
Instance Method Summary collapse
-
#initialize(name) ⇒ InvalidMigrationNameError
constructor
A new instance of InvalidMigrationNameError.
Constructor Details
#initialize(name) ⇒ InvalidMigrationNameError
Returns a new instance of InvalidMigrationNameError.
142 143 144 145 146 147 148 |
# File 'lib/hanami/cli/errors.rb', line 142 def initialize(name) super(<<~TEXT) Invalid migration name: #{name} Name must contain only letters, numbers, and underscores. TEXT end |