The Firebase JS SDK is now in BETA!
This EAP site is no longer maintained. See the official Firebase Documentation site for the latest documentation and information about the Firebase JS SDK.

Home > @firebase/functions > FunctionsError

FunctionsError interface

An error returned by the Firebase Functions client SDK.

Signature:

export interface FunctionsError extends FirebaseError 

Extends: FirebaseError

Properties

Property Type Description
code FunctionsErrorCode 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.
details? unknown (Optional) Extra data to be converted to JSON and included in the error response.