Stay organized with collections
Save and categorize content based on your preferences.
Properties
name
name: "FirebaseError"
Optional stack
stack: string
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,["- [firebase](/docs/reference/js/v8/firebase).\n- FirebaseError \n`FirebaseError` is a subclass of the standard JavaScript `Error` object. In\naddition to a message string and stack trace, it contains a string code.\n\nIndex\n\nProperties\n\n- [code](/docs/reference/js/v8/firebase.FirebaseError#code)\n- [message](/docs/reference/js/v8/firebase.FirebaseError#message)\n- [name](/docs/reference/js/v8/firebase.FirebaseError#name)\n- [stack](/docs/reference/js/v8/firebase.FirebaseError#stack)\n\nProperties\n\ncode \ncode: string \nError codes are strings using the following format: `\"service/string-code\"`.\nSome examples include `\"app/no-app\"` and `\"auth/user-not-found\"`.\n\nWhile the message for a given error can change, the code will remain the same\nbetween backward-compatible versions of the Firebase SDK.\n\nmessage \nmessage: string \nAn explanatory message for the error that just occurred.\n\nThis message is designed to be helpful to you, the developer. Because\nit generally does not convey meaningful information to end users,\nthis message should not be displayed in your application.\n\nname \nname: \"FirebaseError\" \nThe name of the class of errors, which is `\"FirebaseError\"`.\n\nOptional stack \nstack: string \nA string value containing the execution backtrace when the error originally\noccurred. This may not always be available.\n\nWhen it is available, this information can be sent to\n[Firebase Support](https://firebase.google.com/support/) to help\nexplain the cause of an error."]]
FirebaseError
is a subclass of the standard JavaScriptError
object. In addition to a message string and stack trace, it contains a string code.