Exception: SimpleFCM::QuotaExceededError

Inherits:
APIError
  • Object
show all
Defined in:
lib/simple_fcm/error.rb

Overview

QuotaExceededError is raised when the quota for sending push notifications to either a device or topic has been exceeded. Firebase recommends using an exponential backoff with a minimum delay of 1 minute before retrying the message.

Instance Attribute Summary

Attributes inherited from APIError

#code, #details, #status

Instance Method Summary collapse

Methods inherited from APIError

exception, #initialize

Constructor Details

This class inherits a constructor from SimpleFCM::APIError

Instance Method Details

#retriable?Boolean

Returns:

  • (Boolean)


106
107
108
# File 'lib/simple_fcm/error.rb', line 106

def retriable?
  true
end