FirebaseAdmin.Messaging.ErrorInfo

A topic management error.

Summary

Constructors and Destructors

ErrorInfo(int index, string reason)
Initializes a new instance of the ErrorInfo class.

Properties

Index
int
Gets the registration token to which this error is related to.
Reason
string
Gets the nature of the error.

Properties

Index

int Index

Gets the registration token to which this error is related to.

Details
Returns
An index into the original registration token list.

Reason

string Reason

Gets the nature of the error.

Details
Returns
A non-null, non-empty error message.

Public functions

ErrorInfo

 ErrorInfo(
  int index,
  string reason
)

Initializes a new instance of the ErrorInfo class.

Details
Parameters
index
Index of the error in the error codes.
reason
Reason for the error.