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- [functions](/docs/reference/js/v8/firebase.functions).\n- HttpsError \n\nIndex\n\nProperties\n\n- [Error](/docs/reference/js/v8/firebase.functions.HttpsError#error)\n- [code](/docs/reference/js/v8/firebase.functions.HttpsError#code)\n- [details](/docs/reference/js/v8/firebase.functions.HttpsError#details)\n- [message](/docs/reference/js/v8/firebase.functions.HttpsError#message)\n- [name](/docs/reference/js/v8/firebase.functions.HttpsError#name)\n- [stack](/docs/reference/js/v8/firebase.functions.HttpsError#stack)\n\nProperties\n\nError \nError: ErrorConstructor\n\ncode \ncode: [FunctionsErrorCode](/docs/reference/js/v8/firebase.functions#functionserrorcode) \nA standard error code that will be returned to the client. This also\ndetermines the HTTP status code of the response, as defined in code.proto.\n\nOptional details \ndetails: any \nExtra data to be converted to JSON and included in the error response.\n\nmessage \nmessage: string\n| Inherited from [HttpsError](/docs/reference/js/v8/firebase.functions.HttpsError).[message](/docs/reference/js/v8/firebase.functions.HttpsError#message)\n\nname \nname: string\n| Inherited from [HttpsError](/docs/reference/js/v8/firebase.functions.HttpsError).[name](/docs/reference/js/v8/firebase.functions.HttpsError#name)\n\nOptional stack \nstack: string\n| Inherited from [HttpsError](/docs/reference/js/v8/firebase.functions.HttpsError).[stack](/docs/reference/js/v8/firebase.functions.HttpsError#stack)\nOverrides [HttpsError](/docs/reference/js/v8/firebase.functions.HttpsError).[stack](/docs/reference/js/v8/firebase.functions.HttpsError#stack)"]]
A standard error code that will be returned to the client. This also determines the HTTP status code of the response, as defined in code.proto.