Skip to main content
Version: 11.x

Interface: TRPCSubscriptionErrorResult<TOutput, TError>

Extends

Type Parameters

Type Parameter
TOutput
TError

Properties

data

data: undefined | TOutput

Overrides

TRPCSubscriptionBaseResult.data

Defined in

packages/react-query/src/shared/hooks/types.ts:218


error

error: TError

Overrides

TRPCSubscriptionBaseResult.error

Defined in

packages/react-query/src/shared/hooks/types.ts:219


reset()

reset: () => void

Reset the subscription

Returns

void

Inherited from

TRPCSubscriptionBaseResult.reset

Defined in

packages/react-query/src/shared/hooks/types.ts:191


status

status: "error"

Overrides

TRPCSubscriptionBaseResult.status

Defined in

packages/react-query/src/shared/hooks/types.ts:217