[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2022-03-24 UTC."],[],[],null,["# FirebaseAdmin.Messaging.ErrorInfo Class Reference\n\nFirebaseAdmin.Messaging.ErrorInfo\n=================================\n\nA topic management error.\n\nSummary\n-------\n\n| ### Constructors and Destructors ||\n|---|---|\n| [ErrorInfo](#class_firebase_admin_1_1_messaging_1_1_error_info_1a3915df534288b241aae592763bcb5e1f)`(int index, string reason)` Initializes a new instance of the [ErrorInfo](/docs/reference/admin/dotnet/class/firebase-admin/messaging/error-info#class_firebase_admin_1_1_messaging_1_1_error_info) class. ||\n\n| ### Properties ||\n|-------------------------------------------------------------------------------------------------|----------------------------------------------------------------------|\n| [Index](#class_firebase_admin_1_1_messaging_1_1_error_info_1a217e58ae61499b61f0869fbb11d5ac01) | `int` Gets the registration token to which this error is related to. |\n| [Reason](#class_firebase_admin_1_1_messaging_1_1_error_info_1a788f0c339c4634b812f63c437661850c) | `string` Gets the nature of the error. |\n\nProperties\n----------\n\n### Index\n\n```text\nint Index\n``` \nGets the registration token to which this error is related to.\n\n\u003cbr /\u003e\n\n| Details ||\n|-------------|-----------------------------------------------------|\n| **Returns** | An index into the original registration token list. |\n\n### Reason\n\n```text\nstring Reason\n``` \nGets the nature of the error.\n\n\u003cbr /\u003e\n\n| Details ||\n|-------------|--------------------------------------|\n| **Returns** | A non-null, non-empty error message. |\n\nPublic functions\n----------------\n\n### ErrorInfo\n\n```text\n ErrorInfo(\n int index,\n string reason\n)\n``` \nInitializes a new instance of the [ErrorInfo](/docs/reference/admin/dotnet/class/firebase-admin/messaging/error-info#class_firebase_admin_1_1_messaging_1_1_error_info) class.\n\n\u003cbr /\u003e\n\n| Details ||\n|------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Parameters | |----------|----------------------------------------| | `index` | Index of the error in the error codes. | | `reason` | Reason for the error. | |"]]