Exception: Backports::Ractor::RemoteError

Inherits:
Error
  • Object
show all
Defined in:
lib/backports/ractor/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message = nil) ⇒ RemoteError

Returns a new instance of RemoteError.



14
15
16
17
# File 'lib/backports/ractor/errors.rb', line 14

def initialize(message = nil)
  @ractor = Ractor.current
  super
end

Instance Attribute Details

#ractorObject (readonly)

Returns the value of attribute ractor.



12
13
14
# File 'lib/backports/ractor/errors.rb', line 12

def ractor
  @ractor
end