[[["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 2021-06-17 UTC."],[],[],null,["# Firebase.FirebaseException Class Reference\n\nFirebase.FirebaseException\n==========================\n\nException thrown for any Task exception.\n\nSummary\n-------\n\nEach API has different error codes, so the error code should be looked up relative to the API that produced the Task.\n\n### Inheritance\n\nInherits from: Exception\n\n| ### Constructors and Destructors ||\n|---|---|\n| [FirebaseException](#class_firebase_1_1_firebase_exception_1a133dadb89a50f9d091dbf38f3596efd2)`()` Initializes a new [FirebaseException](/docs/reference/unity/class/firebase/firebase-exception#class_firebase_1_1_firebase_exception). ||\n| [FirebaseException](#class_firebase_1_1_firebase_exception_1aeaae043e5d6a3ac369e9095a2cfc692e)`(int errorCode)` Initializes a new [FirebaseException](/docs/reference/unity/class/firebase/firebase-exception#class_firebase_1_1_firebase_exception), with the given error code. ||\n| [FirebaseException](#class_firebase_1_1_firebase_exception_1a99bb3dbcbc7a1895512df57dd9a83f61)`(int errorCode, string message)` Initializes a new [FirebaseException](/docs/reference/unity/class/firebase/firebase-exception#class_firebase_1_1_firebase_exception), with the given error code and message. ||\n| [FirebaseException](#class_firebase_1_1_firebase_exception_1a126a1e1dec452f4694d3c494134b9d7a)`(int errorCode, string message, System.Exception inner)` Initializes a new [FirebaseException](/docs/reference/unity/class/firebase/firebase-exception#class_firebase_1_1_firebase_exception), with the given error code, message, and a reference to the inner exception. ||\n\n| ### Properties ||\n|----------------------------------------------------------------------------------------|----------------------------------------------------|\n| [ErrorCode](#class_firebase_1_1_firebase_exception_1a2565fe13aaa67e51e13491c7ba14942d) | `int` Returns the API-defined non-zero error code. |\n\nProperties\n----------\n\n### ErrorCode\n\n```c#\nint ErrorCode\n``` \nReturns the API-defined non-zero error code.\n\nIf the error code is 0, the error is with the Task itself, and not the API. See the exception message for more detail.\n\nPublic functions\n----------------\n\n### FirebaseException\n\n```c#\n FirebaseException()\n``` \nInitializes a new [FirebaseException](/docs/reference/unity/class/firebase/firebase-exception#class_firebase_1_1_firebase_exception). \n\n### FirebaseException\n\n```c#\n FirebaseException(\n int errorCode\n)\n``` \nInitializes a new [FirebaseException](/docs/reference/unity/class/firebase/firebase-exception#class_firebase_1_1_firebase_exception), with the given error code. \n\n### FirebaseException\n\n```c#\n FirebaseException(\n int errorCode,\n string message\n)\n``` \nInitializes a new [FirebaseException](/docs/reference/unity/class/firebase/firebase-exception#class_firebase_1_1_firebase_exception), with the given error code and message. \n\n### FirebaseException\n\n```c#\n FirebaseException(\n int errorCode,\n string message,\n System.Exception inner\n)\n``` \nInitializes a new [FirebaseException](/docs/reference/unity/class/firebase/firebase-exception#class_firebase_1_1_firebase_exception), with the given error code, message, and a reference to the inner exception."]]