Class: Jiminy::CLI::ExitCodes::WorkflowNotFound

Inherits:
Base
  • Object
show all
Defined in:
lib/jiminy/cli/exit_codes/workflow_not_found.rb

Instance Attribute Summary

Attributes inherited from Base

#message, #value

Instance Method Summary collapse

Methods inherited from Base

#to_s

Constructor Details

#initialize(pipeline_id:, workflow_name:) ⇒ WorkflowNotFound

Returns a new instance of WorkflowNotFound.



5
6
7
# File 'lib/jiminy/cli/exit_codes/workflow_not_found.rb', line 5

def initialize(pipeline_id:, workflow_name:)
  super("Unable to find workflow called '#{workflow_name}' in Pipeline #{pipeline_id}", 1)
end