<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@firebase/functions](./functions.md) &gt; [FunctionsError](./functions.functionserror.md) &gt; [code](./functions.functionserror.code.md)

## FunctionsError.code property

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.

<b>Signature:</b>

```typescript
readonly code: FunctionsErrorCode;
```
