Exception: Motion::BadRevisionPathsError

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

Instance Method Summary collapse

Constructor Details

#initializeBadRevisionPathsError

Returns a new instance of BadRevisionPathsError.



174
175
176
177
178
179
180
# File 'lib/motion/errors.rb', line 174

def initialize
  super(
    "Revision paths must be a `Rails::Paths::Root` object or an object " \
    "that responds to `all_paths.flat_map(&:existent)` and returns an " \
    "Array of strings representing full paths."
  )
end