Class: Concurrent::Actor::Behaviour::ErrorsOnUnknownMessage
- Defined in:
- lib/concurrent-ruby-edge/concurrent/actor/behaviour/errors_on_unknown_message.rb
Overview
Simply fails when message arrives here. It’s usually the last behaviour.
Instance Attribute Summary
Attributes inherited from Abstract
Instance Method Summary collapse
Methods inherited from Abstract
#broadcast, #initialize, #on_event, #pass, #reject_envelope
Methods included from InternalDelegations
#behaviour, #behaviour!, #children, #context, #dead_letter_routing, #log, #redirect, #terminate!, #terminated?
Methods included from PublicDelegations
#context_class, #executor, #name, #parent, #path, #reference
Methods included from TypeCheck
#Child!, #Child?, #Match!, #Match?, #Type!, #Type?
Constructor Details
This class inherits a constructor from Concurrent::Actor::Behaviour::Abstract
Instance Method Details
#on_envelope(envelope) ⇒ Object
8 9 10 |
# File 'lib/concurrent-ruby-edge/concurrent/actor/behaviour/errors_on_unknown_message.rb', line 8 def on_envelope(envelope) raise UnknownMessage, envelope end |