# Interface: TRPCSubscriptionErrorResult<TOutput, TError>

> 

Defined in: [packages/react-query/src/shared/hooks/types.ts:308](https://github.com/trpc/trpc/blob/7c907acfd8b31929214792e3b8c2ad7a8ac72563/packages/react-query/src/shared/hooks/types.ts#L308)

`useSubscription` result after an error that stopped the subscription.

## Extends

- [`TRPCSubscriptionBaseResult`](https://trpc.io/docs/typedoc/react-query/shared/interfaces/TRPCSubscriptionBaseResult.md)\<`TOutput`, `TError`\>

## Type Parameters

| Type Parameter |
| ------ |
| `TOutput` |
| `TError` |

## Properties

### data

> **data**: `undefined` \| `TOutput`

Defined in: [packages/react-query/src/shared/hooks/types.ts:313](https://github.com/trpc/trpc/blob/7c907acfd8b31929214792e3b8c2ad7a8ac72563/packages/react-query/src/shared/hooks/types.ts#L313)

#### Overrides

[`TRPCSubscriptionBaseResult`](https://trpc.io/docs/typedoc/react-query/shared/interfaces/TRPCSubscriptionBaseResult.md).[`data`](https://trpc.io/docs/typedoc/react-query/shared/interfaces/TRPCSubscriptionBaseResult.md#data)

***

### error

> **error**: `TError`

Defined in: [packages/react-query/src/shared/hooks/types.ts:314](https://github.com/trpc/trpc/blob/7c907acfd8b31929214792e3b8c2ad7a8ac72563/packages/react-query/src/shared/hooks/types.ts#L314)

#### Overrides

[`TRPCSubscriptionBaseResult`](https://trpc.io/docs/typedoc/react-query/shared/interfaces/TRPCSubscriptionBaseResult.md).[`error`](https://trpc.io/docs/typedoc/react-query/shared/interfaces/TRPCSubscriptionBaseResult.md#error)

***

### reset()

> **reset**: () => `void`

Defined in: [packages/react-query/src/shared/hooks/types.ts:267](https://github.com/trpc/trpc/blob/7c907acfd8b31929214792e3b8c2ad7a8ac72563/packages/react-query/src/shared/hooks/types.ts#L267)

Reset the subscription

#### Returns

`void`

#### Inherited from

[`TRPCSubscriptionBaseResult`](https://trpc.io/docs/typedoc/react-query/shared/interfaces/TRPCSubscriptionBaseResult.md).[`reset`](https://trpc.io/docs/typedoc/react-query/shared/interfaces/TRPCSubscriptionBaseResult.md#reset)

***

### status

> **status**: `"error"`

Defined in: [packages/react-query/src/shared/hooks/types.ts:312](https://github.com/trpc/trpc/blob/7c907acfd8b31929214792e3b8c2ad7a8ac72563/packages/react-query/src/shared/hooks/types.ts#L312)

#### Overrides

[`TRPCSubscriptionBaseResult`](https://trpc.io/docs/typedoc/react-query/shared/interfaces/TRPCSubscriptionBaseResult.md).[`status`](https://trpc.io/docs/typedoc/react-query/shared/interfaces/TRPCSubscriptionBaseResult.md#status)
