Exception: Omnes::UnknownSubscriptionError
- Defined in:
- lib/omnes/errors.rb
Overview
Raised when a subscription is not known by a bus
Instance Attribute Summary collapse
-
#bus ⇒ Object
readonly
Returns the value of attribute bus.
-
#subscription ⇒ Object
readonly
Returns the value of attribute subscription.
Instance Method Summary collapse
-
#initialize(subscription:, bus:) ⇒ UnknownSubscriptionError
constructor
A new instance of UnknownSubscriptionError.
Constructor Details
#initialize(subscription:, bus:) ⇒ UnknownSubscriptionError
Returns a new instance of UnknownSubscriptionError.
86 87 88 89 90 |
# File 'lib/omnes/errors.rb', line 86 def initialize(subscription:, bus:) @subscription = subscription @bus = bus super() end |
Instance Attribute Details
#bus ⇒ Object (readonly)
Returns the value of attribute bus.
84 85 86 |
# File 'lib/omnes/errors.rb', line 84 def bus @bus end |
#subscription ⇒ Object (readonly)
Returns the value of attribute subscription.
84 85 86 |
# File 'lib/omnes/errors.rb', line 84 def subscription @subscription end |