Exception: R::BatchEvaluationError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/R_interface/r.rb

Overview

Raised when R.batch hits an R error mid-batch (later ops are not executed).

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, failed_index = nil) ⇒ BatchEvaluationError

Returns a new instance of BatchEvaluationError.



53
54
55
56
# File 'lib/R_interface/r.rb', line 53

def initialize(message, failed_index = nil)
  super(message)
  @failed_index = failed_index
end

Instance Attribute Details

#failed_indexObject (readonly)

Returns the value of attribute failed_index.



51
52
53
# File 'lib/R_interface/r.rb', line 51

def failed_index
  @failed_index
end