# HttpsError | JavaScript SDK

# - [firebase](https://firebase.google.com/docs/reference/node/firebase).
- [functions](https://firebase.google.com/docs/reference/node/firebase.functions).
- HttpsError

## Index

### Properties

- [Error](https://firebase.google.com/docs/reference/node/firebase.functions.HttpsError#error)
- [code](https://firebase.google.com/docs/reference/node/firebase.functions.HttpsError#code)
- [details](https://firebase.google.com/docs/reference/node/firebase.functions.HttpsError#details)
- [message](https://firebase.google.com/docs/reference/node/firebase.functions.HttpsError#message)
- [name](https://firebase.google.com/docs/reference/node/firebase.functions.HttpsError#name)
- [stack](https://firebase.google.com/docs/reference/node/firebase.functions.HttpsError#stack)

## Properties

### Error

Error: ErrorConstructor

### code

code: [FunctionsErrorCode](https://firebase.google.com/docs/reference/node/firebase.functions#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.

### Optional details

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

### message

message: string Inherited from [HttpsError](https://firebase.google.com/docs/reference/node/firebase.functions.HttpsError).[message](https://firebase.google.com/docs/reference/node/firebase.functions.HttpsError#message)

### name

name: string Inherited from [HttpsError](https://firebase.google.com/docs/reference/node/firebase.functions.HttpsError).[name](https://firebase.google.com/docs/reference/node/firebase.functions.HttpsError#name)

### Optional stack

stack: string Inherited from [HttpsError](https://firebase.google.com/docs/reference/node/firebase.functions.HttpsError).[stack](https://firebase.google.com/docs/reference/node/firebase.functions.HttpsError#stack)
Overrides [HttpsError](https://firebase.google.com/docs/reference/node/firebase.functions.HttpsError).[stack](https://firebase.google.com/docs/reference/node/firebase.functions.HttpsError#stack)