Class: Ralph::Output::Iteration::Error

Inherits:
Object
  • Object
show all
Defined in:
lib/ralph/output/iteration.rb

Class Method Summary collapse

Class Method Details

.call(loop_context, error) ⇒ Object



38
39
40
41
# File 'lib/ralph/output/iteration.rb', line 38

def self.call(loop_context, error)
  $stderr.puts "\n❌ Error in iteration #{loop_context.state.iteration}: #{error}"
  puts "Continuing to next iteration..."
end