Class: Google::Cloud::PubSub::OrderedMessagesDisabled
- Inherits:
-
Error
- Object
- Error
- Google::Cloud::PubSub::OrderedMessagesDisabled
- Defined in:
- lib/google/cloud/pubsub/errors.rb
Overview
Indicates that the AsyncPublisher has not been enabled to publish messages with an ordering key. Use AsyncPublisher#enable_message_ordering! to enable publishing ordered messages.
Instance Method Summary collapse
-
#initialize(message = "Ordered messages are disabled.") ⇒ OrderedMessagesDisabled
constructor
A new instance of OrderedMessagesDisabled.
Constructor Details
#initialize(message = "Ordered messages are disabled.") ⇒ OrderedMessagesDisabled
Returns a new instance of OrderedMessagesDisabled.
38 39 40 |
# File 'lib/google/cloud/pubsub/errors.rb', line 38 def initialize = "Ordered messages are disabled." super end |