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 2022-07-27 UTC.
[null,null,["Last updated 2022-07-27 UTC."],[],[],null,["# FirestoreError | JavaScript SDK\n\n- [firebase](/docs/reference/js/v8/firebase).\n- [firestore](/docs/reference/js/v8/firebase.firestore).\n- FirestoreError\n=======================================================================================================================\n\nAn error returned by a Firestore operation.\n\nIndex\n-----\n\n### Properties\n\n- [code](/docs/reference/js/v8/firebase.firestore.FirestoreError#code)\n- [message](/docs/reference/js/v8/firebase.firestore.FirestoreError#message)\n- [name](/docs/reference/js/v8/firebase.firestore.FirestoreError#name)\n- [stack](/docs/reference/js/v8/firebase.firestore.FirestoreError#stack)\n\nProperties\n----------\n\n### code\n\ncode: [FirestoreErrorCode](/docs/reference/js/v8/firebase.firestore#firestoreerrorcode)\n\n### message\n\nmessage: string\n\n### name\n\nname: string\n\n### Optional stack\n\nstack: string"]]
An error returned by a Firestore operation.