Defines error info type. This includes a code and message string.

**Signature:**

    export interface ErrorInfo 

## Properties

| Property | Type | Description |
|---|---|---|
| [cause](https://firebase.google.com/docs/reference/admin/node/firebase-admin.app.errorinfo#errorinfocause) | Error | The original wrapped error that triggered this error, if any. |
| [code](https://firebase.google.com/docs/reference/admin/node/firebase-admin.app.errorinfo#errorinfocode) | string | The string error code. |
| [httpResponse](https://firebase.google.com/docs/reference/admin/node/firebase-admin.app.errorinfo#errorinfohttpresponse) | [HttpResponse](https://firebase.google.com/docs/reference/admin/node/firebase-admin.app.httpresponse#httpresponse_interface) | The HTTP response associated with this error, if any. |
| [message](https://firebase.google.com/docs/reference/admin/node/firebase-admin.app.errorinfo#errorinfomessage) | string | The error message. |

## ErrorInfo.cause

The original wrapped error that triggered this error, if any.

**Signature:**

    cause?: Error;

## ErrorInfo.code

The string error code.

**Signature:**

    code: string;

## ErrorInfo.httpResponse

The HTTP response associated with this error, if any.

**Signature:**

    httpResponse?: HttpResponse;

## ErrorInfo.message

The error message.

**Signature:**

    message: string;