Class: RobotLab::RactorJobError

Inherits:
Data
  • Object
show all
Defined in:
lib/robot_lab/ractor_job.rb

Overview

Frozen error representation for exceptions raised inside a Ractor worker. Serialized at the Ractor boundary and re-raised on the thread side.

Examples:

err = RactorJobError.new(message: e.message.freeze, backtrace: e.backtrace.freeze)

Instance Attribute Summary collapse

Instance Attribute Details

#backtraceObject (readonly)

Returns the value of attribute backtrace

Returns:

  • (Object)

    the current value of backtrace



24
25
26
# File 'lib/robot_lab/ractor_job.rb', line 24

def backtrace
  @backtrace
end

#messageObject (readonly)

Returns the value of attribute message

Returns:

  • (Object)

    the current value of message



24
25
26
# File 'lib/robot_lab/ractor_job.rb', line 24

def message
  @message
end