Exception: Omnes::DuplicateSubscriptionIdError
- Defined in:
- lib/omnes/errors.rb
Overview
Raised when given subscription id is already in use
Instance Attribute Summary collapse
-
#bus ⇒ Object
readonly
Returns the value of attribute bus.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
Instance Method Summary collapse
-
#initialize(id:, bus:) ⇒ DuplicateSubscriptionIdError
constructor
A new instance of DuplicateSubscriptionIdError.
Constructor Details
#initialize(id:, bus:) ⇒ DuplicateSubscriptionIdError
Returns a new instance of DuplicateSubscriptionIdError.
106 107 108 109 110 |
# File 'lib/omnes/errors.rb', line 106 def initialize(id:, bus:) @id = id @bus = bus super() end |
Instance Attribute Details
#bus ⇒ Object (readonly)
Returns the value of attribute bus.
104 105 106 |
# File 'lib/omnes/errors.rb', line 104 def bus @bus end |
#id ⇒ Object (readonly)
Returns the value of attribute id.
104 105 106 |
# File 'lib/omnes/errors.rb', line 104 def id @id end |