Exception: HandcuffsPhaseUndefinedError

Inherits:
HandcuffsError show all
Defined in:
lib/handcuffs/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(undefined_phases) ⇒ HandcuffsPhaseUndefinedError

Returns a new instance of HandcuffsPhaseUndefinedError.



54
55
56
57
58
59
60
# File 'lib/handcuffs/errors.rb', line 54

def initialize(undefined_phases)
  msg = <<-MESSAGE
    The following migrations do not have a phase defined
  #{undefined_phases.to_sentence}
  MESSAGE
  super msg
end