Exception: GeoserverMigrations::IllegalMigrationNameError

Inherits:
StandardError
  • Object
show all
Includes:
ExceptionsMixin
Defined in:
lib/geoserver_migrations.rb

Overview

:nodoc:

Instance Method Summary collapse

Constructor Details

#initialize(name = nil) ⇒ IllegalMigrationNameError

Returns a new instance of IllegalMigrationNameError.



26
27
28
29
30
31
32
# File 'lib/geoserver_migrations.rb', line 26

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