Module: FuzzBert::Handler::ConsoleHelper

Included in:
Console, FileOutput
Defined in:
lib/fuzzbert/error_handler.rb

Instance Method Summary collapse

Instance Method Details

#info(error_data) ⇒ Object



5
6
7
8
9
10
11
12
13
14
15
# File 'lib/fuzzbert/error_handler.rb', line 5

def info(error_data)
  status = error_data[:status]

  crashed = status.termsig

  if crashed
    puts "The data caused a hard crash."
  else
    puts "The data caused an uncaught error."
  end
end