Exception: HandcuffsPhaseOutOfOrderError

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

Instance Method Summary collapse

Constructor Details

#initialize(not_run_phase, attempted_phase) ⇒ HandcuffsPhaseOutOfOrderError



45
46
47
48
49
50
# File 'lib/handcuffs/errors.rb', line 45

def initialize(not_run_phase, attempted_phase)
  msg = "    Your tried to run \#{attempted_phase.to_s}, but \#{not_run_phase.to_s} has not been run\n  MESSAGE\n  super msg\nend\n"