FunctionsError class Stay organized with collections Save and categorize content based on your preferences.
An error returned by the Firebase Functions client SDK.
SeeFunctionsErrorCode for full documentation of codes.
Signature:
exportdeclareclassFunctionsErrorextendsFirebaseErrorExtends:FirebaseError
Constructors
| Constructor | Modifiers | Description |
|---|---|---|
| (constructor)(code, message, details) | Constructs a new instance of theFunctionsError class. |
Properties
| Property | Modifiers | Type | Description |
|---|---|---|---|
| details | unknown | Additional details to be converted to JSON and included in the error response. |
FunctionsError.(constructor)
Constructs a new instance of theFunctionsError class.
Signature:
constructor(code:FunctionsErrorCode,message?:string,details?:unknown);Parameters
| Parameter | Type | Description |
|---|---|---|
| code | FunctionsErrorCode | |
| message | string | |
| details | unknown |
FunctionsError.details
Additional details to be converted to JSON and included in the error response.
Signature:
readonlydetails?:unknown;Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-22 UTC.