An error returned by the Firebase Functions client SDK.
See FunctionsErrorCode for full documentation of codes.
Signature:
export declare class FunctionsError extends FirebaseError
Extends: FirebaseError
Constructors
| Constructor | Modifiers | Description |
|---|---|---|
| (constructor)(code, message, details) | Constructs a new instance of the FunctionsError 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 the FunctionsError 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:
readonly details?: unknown;