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