Class: Google::Cloud::PubSub::AsyncPublisherStopped

Inherits:
Error
  • Object
show all
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

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 message = "Can't publish when stopped."
  super message
end