Stay organized with collections
Save and categorize content based on your preferences.
Firebase.Firestore.FirestoreException
A class of exceptions thrown by Cloud Firestore.
Summary
Inheritance
Inherits from: Exception
Properties
|
ErrorCode
|
The error code describing the error.
|
Properties
ErrorCode
FirestoreError ErrorCode
The error code describing the error.
Public functions
FirestoreException
FirestoreException(
FirestoreError errorCode,
string message
)
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2021-08-18 UTC.
[null,null,["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."]]