Exception: Motion::AlreadyConfiguredError

Inherits:
Error
  • Object
show all
Defined in:
lib/motion/errors.rb

Instance Method Summary collapse

Constructor Details

#initializeAlreadyConfiguredError

Returns a new instance of AlreadyConfiguredError.



131
132
133
134
135
136
137
# File 'lib/motion/errors.rb', line 131

def initialize
  super(
    "Motion is already configured.\n" \
    "\n" \
    "Hint: Move all Motion config to `config/initializers/motion.rb`."
  )
end