Exception: RactorShack::ShareableGuaranteed::NonShareableSentToRactorError
- Inherits:
-
NonShareableError
- Object
- StandardError
- NonShareableError
- RactorShack::ShareableGuaranteed::NonShareableSentToRactorError
- Defined in:
- lib/ractor_shack/shareable_guaranteed.rb
Instance Attribute Summary collapse
-
#sent_message ⇒ Object
Returns the value of attribute sent_message.
Instance Method Summary collapse
-
#initialize(ractor_or_port, sent_message) ⇒ NonShareableSentToRactorError
constructor
A new instance of NonShareableSentToRactorError.
Constructor Details
#initialize(ractor_or_port, sent_message) ⇒ NonShareableSentToRactorError
Returns a new instance of NonShareableSentToRactorError.
49 50 51 52 |
# File 'lib/ractor_shack/shareable_guaranteed.rb', line 49 def initialize(ractor_or_port, ) self. = super("Unshareable object sent to #{ractor_or_port}: #{.class}: #{}") end |
Instance Attribute Details
#sent_message ⇒ Object
Returns the value of attribute sent_message.
47 48 49 |
# File 'lib/ractor_shack/shareable_guaranteed.rb', line 47 def @sent_message end |