class Crew::Context::TestError
Public Class Methods
new(original_exception, stdout, stderr)
click to toggle source
# File lib/crew/context.rb, line 19 def initialize(original_exception, stdout, stderr) @original_exception, @stdout, @stderr = original_exception, stdout, stderr end
Public Instance Methods
to_s()
click to toggle source
# File lib/crew/context.rb, line 23 def to_s %| Error: #{@original_exception.message} (#{@original_exception.class}) #{@original_exception.backtrace.join("\n ")} Stderr: #{@stderr} Stdout: #{@stdout} |.trim end