Exception: Gcm::Errors::ServiceUnavailable
- Inherits:
-
StandardError
- Object
- StandardError
- Gcm::Errors::ServiceUnavailable
- Defined in:
- lib/gcm_rails_mongo_mapper/gcm_rails_mongo_mapper.rb
Overview
Indicates that server is temporarily unavailable (i.e because of timeouts, etc.) Sender must retry later, honoring any Retry-After header included in the response. Application servers must implement exponential back-off
Instance Method Summary collapse
-
#initialize(message) ⇒ ServiceUnavailable
constructor
A new instance of ServiceUnavailable.
Constructor Details
#initialize(message) ⇒ ServiceUnavailable
Returns a new instance of ServiceUnavailable.
64 65 66 |
# File 'lib/gcm_rails_mongo_mapper/gcm_rails_mongo_mapper.rb', line 64 def initialize() super("Service is currently unavailable. Try again later: '#{}'") end |