Exception: R::BatchEvaluationError
- Inherits:
-
StandardError
- Object
- StandardError
- R::BatchEvaluationError
- 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
-
#failed_index ⇒ Object
readonly
Returns the value of attribute failed_index.
Instance Method Summary collapse
-
#initialize(message, failed_index = nil) ⇒ BatchEvaluationError
constructor
A new instance of BatchEvaluationError.
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(, failed_index = nil) super() @failed_index = failed_index end |
Instance Attribute Details
#failed_index ⇒ Object (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 |