Exception: HandcuffsPhaseUndefinedError
- Inherits:
-
HandcuffsError
- Object
- StandardError
- HandcuffsError
- HandcuffsPhaseUndefinedError
- Defined in:
- lib/handcuffs/errors.rb
Instance Method Summary collapse
-
#initialize(undefined_phases) ⇒ HandcuffsPhaseUndefinedError
constructor
A new instance of HandcuffsPhaseUndefinedError.
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 |