123456789_123456789_123456789_123456789_123456789_

Class: Concurrent::Actor::UnknownMessage

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Instance Chain:
self, TypeCheck
Inherits: Concurrent::Actor::Error
  • ::Object
Defined in: lib/concurrent-ruby-edge/concurrent/actor/errors.rb

Class Method Summary

Instance Attribute Summary

Instance Method Summary

Constructor Details

.new(envelope) ⇒ UnknownMessage

[ GitHub ]

  
# File 'lib/concurrent-ruby-edge/concurrent/actor/errors.rb', line 23

def initialize(envelope)
  @envelope = Type! envelope, Envelope
  super "#{envelope.message.inspect} from #{envelope.sender_path}"
end

Instance Attribute Details

#envelope (readonly)

[ GitHub ]

  
# File 'lib/concurrent-ruby-edge/concurrent/actor/errors.rb', line 21

attr_reader :envelope