class GoodJob::ExecutionResult

Stores the results of job execution

Attributes

handled_error[R]

@return [Exception, nil]

unhandled_error[R]

@return [Exception, nil]

value[R]

@return [Object, nil]

Public Class Methods

new(value:, handled_error: nil, unhandled_error: nil) click to toggle source

@param value [Object, nil] @param handled_error [Exception, nil] @param unhandled_error [Exception, nil]

   # File lib/good_job/execution_result.rb
15 def initialize(value:, handled_error: nil, unhandled_error: nil)
16   @value = value
17   @handled_error = handled_error
18   @unhandled_error = unhandled_error
19 end