Exception: Onboardable::EmptyStepsError

Inherits:
Error
  • Object
show all
Defined in:
lib/onboardable/errors.rb

Overview

Error raised when an operation is attempted on an empty steps collection.

Instance Method Summary collapse

Constructor Details

#initializeEmptyStepsError

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