Class: Google::Cloud::PubSub::AsyncPublisherStopped
- Inherits:
-
Error
- Object
- Error
- Google::Cloud::PubSub::AsyncPublisherStopped
- Defined in:
- lib/google/cloud/pubsub/errors.rb
Overview
Indicates that the AsyncPublisher has been stopped and cannot accept messages to publish.
Instance Method Summary collapse
-
#initialize(message = "Can't publish when stopped.") ⇒ AsyncPublisherStopped
constructor
A new instance of AsyncPublisherStopped.
Constructor Details
#initialize(message = "Can't publish when stopped.") ⇒ AsyncPublisherStopped
Returns a new instance of AsyncPublisherStopped.
26 27 28 |
# File 'lib/google/cloud/pubsub/errors.rb', line 26 def initialize = "Can't publish when stopped." super end |