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 Extra data to be converted to JSON and included in the error response.

FunctionsError.code

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.

Signature:

readonly code: FunctionsErrorCode;

FunctionsError.details

Extra data to be converted to JSON and included in the error response.

Signature:

readonly details?: unknown;