docs-devsite/functions.functionserror.md
Project: /docs/reference/js/_project.yaml Book: /docs/reference/_book.yaml page_type: reference
{% comment %} DO NOT EDIT THIS FILE! This is generated by the JS SDK team, and any local changes will be overwritten. Changes should be made in the source code at https://github.com/firebase/firebase-js-sdk {% endcomment %}
An error returned by the Firebase Functions client SDK.
See FunctionsErrorCode for full documentation of codes.
<b>Signature:</b>
export declare class FunctionsError extends FirebaseError
<b>Extends:</b> FirebaseError
| Constructor | Modifiers | Description |
|---|---|---|
| (constructor)(code, message, details) | Constructs a new instance of the <code>FunctionsError</code> class. |
| Property | Modifiers | Type | Description |
|---|---|---|---|
| details | unknown | Additional details to be converted to JSON and included in the error response. |
Constructs a new instance of the FunctionsError class.
<b>Signature:</b>
constructor(
code: FunctionsErrorCode, message?: string,
details?: unknown);
| Parameter | Type | Description |
|---|---|---|
| code | FunctionsErrorCode | |
| message | string | |
| details | unknown |
Additional details to be converted to JSON and included in the error response.
<b>Signature:</b>
readonly details?: unknown;