Class: BackgroundLite::StderrErrorReporter

Inherits:
Object
  • Object
show all
Defined in:
lib/background_lite/core_ext/error_reporters/stderr_error_reporter.rb

Overview

Reports error on $stdout.

Class Method Summary collapse

Class Method Details

.report(error) ⇒ Object

Prints the exception’s error message on $stderr.



5
6
7
# File 'lib/background_lite/core_ext/error_reporters/stderr_error_reporter.rb', line 5

def self.report(error)
  $stderr.puts error.message
end