Exception: Onboardable::EmptyStepsError
- Defined in:
- lib/onboardable/errors.rb
Overview
Error raised when an operation is attempted on an empty steps collection.
Instance Method Summary collapse
-
#initialize ⇒ EmptyStepsError
constructor
Initializes a new instance of EmptyStepsError.
Constructor Details
#initialize ⇒ EmptyStepsError
Initializes a new instance of EmptyStepsError. This error indicates that an operation requiring non-empty steps was attempted on an empty collection.
33 34 35 |
# File 'lib/onboardable/errors.rb', line 33 def initialize super('Cannot be performed because the steps is empty.') end |