Exception: Flows::SharedContextPipeline::NoStepsError

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

Overview

Raised when initializing Flows::SharedContextPipeline with no steps.

Since:

  • 0.4.0

Instance Method Summary collapse

Constructor Details

#initialize(klass) ⇒ NoStepsError

Returns a new instance of NoStepsError.

Since:

  • 0.4.0



8
9
10
# File 'lib/flows/shared_context_pipeline/errors.rb', line 8

def initialize(klass)
  @klass = klass
end

Instance Method Details

#messageObject

Since:

  • 0.4.0



12
13
14
# File 'lib/flows/shared_context_pipeline/errors.rb', line 12

def message
  "No steps defined for main track in #{@klass}"
end