[[["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-08-18 UTC."],[],[],null,["# Firebase.Firestore.FirestoreException Class Reference\n\nFirebase.Firestore.FirestoreException\n=====================================\n\nA class of exceptions thrown by Cloud [Firestore](/docs/reference/unity/namespace/firebase/firestore#namespace_firebase_1_1_firestore).\n\nSummary\n-------\n\n### Inheritance\n\nInherits from: Exception\n\n| ### Constructors and Destructors ||\n|---|---|\n| [FirestoreException](#class_firebase_1_1_firestore_1_1_firestore_exception_1a7e3a48f6ffddf9446c500b15c366500c)`(`[FirestoreError](/docs/reference/unity/namespace/firebase/firestore#namespace_firebase_1_1_firestore_1a24804fae11b868e5f88ba5d44d1500a8)` errorCode)` Initializes a new [FirestoreException](/docs/reference/unity/class/firebase/firestore/firestore-exception#class_firebase_1_1_firestore_1_1_firestore_exception), with the given error code. ||\n| [FirestoreException](#class_firebase_1_1_firestore_1_1_firestore_exception_1adaf2c9e7bc40e87d24c64f4a055f1912)`(`[FirestoreError](/docs/reference/unity/namespace/firebase/firestore#namespace_firebase_1_1_firestore_1a24804fae11b868e5f88ba5d44d1500a8)` errorCode, string message)` Initializes a new [FirestoreException](/docs/reference/unity/class/firebase/firestore/firestore-exception#class_firebase_1_1_firestore_1_1_firestore_exception), with the given error code and message. ||\n\n| ### Properties ||\n|-------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [ErrorCode](#class_firebase_1_1_firestore_1_1_firestore_exception_1a3f4fa5a9755454ec7630d196e5b59995) | [FirestoreError](/docs/reference/unity/namespace/firebase/firestore#namespace_firebase_1_1_firestore_1a24804fae11b868e5f88ba5d44d1500a8) The error code describing the error. |\n\nProperties\n----------\n\n### ErrorCode\n\n```c#\nFirestoreError ErrorCode\n``` \nThe error code describing the error.\n\nPublic functions\n----------------\n\n### FirestoreException\n\n```c#\n FirestoreException(\n FirestoreError errorCode\n)\n``` \nInitializes a new [FirestoreException](/docs/reference/unity/class/firebase/firestore/firestore-exception#class_firebase_1_1_firestore_1_1_firestore_exception), with the given error code. \n\n### FirestoreException\n\n```c#\n FirestoreException(\n FirestoreError errorCode,\n string message\n)\n``` \nInitializes a new [FirestoreException](/docs/reference/unity/class/firebase/firestore/firestore-exception#class_firebase_1_1_firestore_1_1_firestore_exception), with the given error code and message."]]