class Firebase::Admin::Messaging::ErrorInfo
Information on an error encountered when performing a topic management operation.
Attributes
index[RW]
@return [Integer] The index of the registration token the error is related to.
reason[RW]
@return [String] The description of the error encountered.
Public Class Methods
new(index:, reason:)
click to toggle source
Initializes an {ErrorInfo}.
@param [Integer] index
The index of the registration token the error is related to.
@param [String] reason
The description of the error encountered.
# File lib/firebase/admin/messaging/error_info.rb, line 18 def initialize(index:, reason:) self.index = index self.reason = reason end