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,["# HttpsError | JavaScript SDK\n\n- [firebase](/docs/reference/node/firebase).\n- [functions](/docs/reference/node/firebase.functions).\n- HttpsError\n=================================================================================================================\n\nIndex\n-----\n\n### Properties\n\n- [Error](/docs/reference/node/firebase.functions.HttpsError#error)\n- [code](/docs/reference/node/firebase.functions.HttpsError#code)\n- [details](/docs/reference/node/firebase.functions.HttpsError#details)\n- [message](/docs/reference/node/firebase.functions.HttpsError#message)\n- [name](/docs/reference/node/firebase.functions.HttpsError#name)\n- [stack](/docs/reference/node/firebase.functions.HttpsError#stack)\n\nProperties\n----------\n\n### Error\n\nError: ErrorConstructor\n\n### code\n\ncode: [FunctionsErrorCode](/docs/reference/node/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\n### Optional details\n\ndetails: any \nExtra data to be converted to JSON and included in the error response.\n\n### message\n\nmessage: string\n| Inherited from [HttpsError](/docs/reference/node/firebase.functions.HttpsError).[message](/docs/reference/node/firebase.functions.HttpsError#message)\n\n### name\n\nname: string\n| Inherited from [HttpsError](/docs/reference/node/firebase.functions.HttpsError).[name](/docs/reference/node/firebase.functions.HttpsError#name)\n\n### Optional stack\n\nstack: string\n| Inherited from [HttpsError](/docs/reference/node/firebase.functions.HttpsError).[stack](/docs/reference/node/firebase.functions.HttpsError#stack)\nOverrides [HttpsError](/docs/reference/node/firebase.functions.HttpsError).[stack](/docs/reference/node/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.