Class: Google::Cloud::PubSub::OrderedMessageDeliveryError
- Inherits:
-
Error
- Object
- Error
- Google::Cloud::PubSub::OrderedMessageDeliveryError
- Defined in:
- lib/google/cloud/pubsub/errors.rb
Overview
Indicates that the Subscriber for a Subscription with message ordering enabled has observed that a message has been delivered out of order.
Instance Attribute Summary collapse
-
#ordered_message ⇒ Object
readonly
Returns the value of attribute ordered_message.
Instance Method Summary collapse
-
#initialize(ordered_message) ⇒ OrderedMessageDeliveryError
constructor
A new instance of OrderedMessageDeliveryError.
Constructor Details
#initialize(ordered_message) ⇒ OrderedMessageDeliveryError
Returns a new instance of OrderedMessageDeliveryError.
51 52 53 54 55 |
# File 'lib/google/cloud/pubsub/errors.rb', line 51 def initialize @ordered_message = super "Ordered message delivered out of order." end |
Instance Attribute Details
#ordered_message ⇒ Object (readonly)
Returns the value of attribute ordered_message.
49 50 51 |
# File 'lib/google/cloud/pubsub/errors.rb', line 49 def @ordered_message end |