PageSourceSearch

https://trpc.io/assets/js/1ed7bed4.7dedeb48.js

js trpc.io collected 2026-10-02 02:24:58 UTC 7,841 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkwww=self.webpackChunkwww||[]).push([["14498"],{30620(e,r,s){s.r(r),s.d(r,{metadata:()=>t,default:()=>h,frontMatter:()=>i,contentTitle:()=>d,toc:()=>o,assets:()=>a});var t=JSON.parse('{"id":"typedoc/react-query/shared/interfaces/TRPCSubscriptionErrorResult","title":"Interface: TRPCSubscriptionErrorResult\\\\<TOutput, TError\\\\>","description":"Defined in231","source":"@site/docs/typedoc/react-query/shared/interfaces/TRPCSubscriptionErrorResult.md","sourceDirName":"typedoc/react-query/shared/interfaces","slug":"/typedoc/react-query/shared/interfaces/TRPCSubscriptionErrorResult","permalink":"/docs/typedoc/react-query/shared/interfaces/TRPCSubscriptionErrorResult","draft":false,"unlisted":false,"editUrl":"https://github.com/trpc/trpc/tree/main/www/docs/typedoc/react-query/shared/interfaces/TRPCSubscriptionErrorResult.md","tags":[],"version":"current","frontMatter":{},"sidebar":"docs","previous":{"title":"Interface: TRPCSubscriptionConnectingResult\\\\<TOutput, TError\\\\>","permalink":"/docs/typedoc/react-query/shared/interfaces/TRPCSubscriptionConnectingResult"},"next":{"title":"Interface: TRPCSubscriptionIdleResult\\\\<TOutput\\\\>","permalink":"/docs/typedoc/react-query/shared/interfaces/TRPCSubscriptionIdleResult"}}'),c=s(27968),n=s(77334);let i={},d="Interface: TRPCSubscriptionErrorResult<TOutput, TError>",a={},o=[{value:"Extends",id:"extends",level:2},{value:"Type Parameters",id:"type-parameters",level:2},{value:"Properties",id:"properties",level:2},{value:"data",id:"data",level:3},{value:"Overrides",id:"overrides",level:4},{value:"error",id:"error",level:3},{value:"Overrides",id:"overrides-1",level:4},{value:"reset()",id:"reset",level:3},{value:"Returns",id:"returns",level:4},{value:"Inherited from",id:"inherited-from",level:4},{value:"status",id:"status",level:3},{value:"Overrides",id:"overrides-2",level:4}];function l(e){let r={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",h3:"h3",h4:"h4",header:"header",hr:"hr",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,n.R)(),...e.components};return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(r.header,{children:(0,c.jsx)(r.h1,{id:"interface-trpcsubscriptionerrorresulttoutput-terror",children:"Interface: TRPCSubscriptionErrorResult<TOutput, TError>"})}),"\n",(0,c.jsxs)(r.p,{children:["Defined in: ",(0,c.jsx)(r.a,{href:"https://github.com/trpc/trpc/blob/f55eeb408e824a0443a78904644b7a5981644779/packages/react-query/src/shared/hooks/types.ts#L231",children:"packages/react-query/src/shared/hooks/types.ts:231"})]}),"\n",(0,c.jsx)(r.h2,{id:"extends",children:"Extends"}),"\n",(0,c.jsxs)(r.ul,{children:["\n",(0,c.jsxs)(r.li,{children:[(0,c.jsx)(r.a,{href:"/docs/typedoc/react-query/shared/interfaces/TRPCSubscriptionBaseResult",children:(0,c.jsx)(r.code,{children:"TRPCSubscriptionBaseResult"})}),"<",(0,c.jsx)(r.code,{children:"TOutput"}),", ",(0,c.jsx)(r.code,{children:"TError"}),">"]}),"\n"]}),"\n",(0,c.jsx)(r.h2,{id:"type-parameters",children:"Type Parameters"}),"\n",(0,c.jsxs)(r.table,{children:[(0,c.jsx)(r.thead,{children:(0,c.jsx)(r.tr,{children:(0,c.jsx)(r.th,{children:"Type Parameter"})})}),(0,c.jsxs)(r.tbody,{children:[(0,c.jsx)(r.tr,{children:(0,c.jsx)(r.td,{children:(0,c.jsx)(r.code,{children:"TOutput"})})}),(0,c.jsx)(r.tr,{children:(0,c.jsx)(r.td,{children:(0,c.jsx)(r.code,{children:"TError"})})})]})]}),"\n",(0,c.jsx)(r.h2,{id:"properties",children:"Properties"}),"\n",(0,c.jsx)(r.h3,{id:"data",children:"data"}),"\n",(0,c.jsxs)(r.blockquote,{children:["\n",(0,c.jsxs)(r.p,{children:[(0,c.jsx)(r.strong,{children:"data"}),": ",(0,c.jsx)(r.code,{children:"undefined"})," | ",(0,c.jsx)(r.code,{children:"TOutput"})]}),"\n"]}),"\n",(0,c.jsxs)(r.p,{children:["Defined in: ",(0,c.jsx)(r.a,{href:"https://github.com/trpc/trpc/blob/f55eeb408e824a0443a78904644b7a5981644779/packages/react-query/src/shared/hooks/types.ts#L236",children:"packages/react-query/src/shared/hooks/types.ts:236"})]}),"\n",(0,c.jsx)(r.h4,{id:"overrides",children:"Overrides"}),"\n",(0,c.jsxs)(r.p,{children:[(0,c.jsx)(r.a,{href:"/docs/typedoc/react-query/shared/interfaces/TRPCSubscriptionBaseResult",children:(0,c.jsx)(r.code,{children:"TRPCSubscriptionBaseResult"})}),".",(0,c.jsx)(r.a,{href:"/docs/typedoc/react-query/shared/interfaces/TRPCSubscriptionBaseResult#data",children:(0,c.jsx)(r.code,{children:"data"})})]}),"\n",(0,c.jsx)(r.hr,{}),"\n",(0,c.jsx)(r.h3,{id:"error",children:"error"}),"\n",(0,c.jsxs)(r.blockquote,{children:["\n",(0,c.jsxs)(r.p,{children:[(0,c.jsx)(r.strong,{children:"error"}),": ",(0,c.jsx)(r.code,{children:"TError"})]}),"\n"]}),"\n",(0,c.jsxs)(r.p,{children:["Defined in: ",(0,c.jsx)(r.a,{href:"https://github.com/trpc/trpc/blob/f55eeb408e824a0443a78904644b7a5981644779/packages/react-query/src/shared/hooks/types.ts#L237",children:"packages/react-query/src/shared/hooks/types.ts:237"})]}),"\n",(0,c.jsx)(r.h4,{id:"overrides-1",children:"Overrides"}),"\n",(0,c.jsxs)(r.p,{children:[(0,c.jsx)(r.a,{href:"/docs/typedoc/react-query/shared/interfaces/TRPCSubscriptionBaseResult",children:(0,c.jsx)(r.code,{children:"TRPCSubscriptionBaseResult"})}),".",(0,c.jsx)(r.a,{href:"/docs/typedoc/react-query/shared/interfaces/TRPCSubscriptionBaseResult#error",children:(0,c.jsx)(r.code,{children:"error"})})]}),"\n",(0,c.jsx)(r.hr,{}),"\n",(0,c.jsx)(r.h3,{id:"reset",children:"reset()"}),"\n",(0,c.jsxs)(r.blockquote,{children:["\n",(0,c.jsxs)(r.p,{children:[(0,c.jsx)(r.strong,{children:"reset"}),": () => ",(0,c.jsx)(r.code,{children:"void"})]}),"\n"]}),"\n",(0,c.jsxs)(r.p,{children:["Defined in: ",(0,c.jsx)(r.a,{href:"https://github.com/trpc/trpc/blob/f55eeb408e824a0443a78904644b7a5981644779/packages/react-query/src/shared/hooks/types.ts#L203",children:"packages/react-query/src/shared/hooks/types.ts:203"})]}),"\n",(0,c.jsx)(r.p,{children:"Reset the subscription"}),"\n",(0,c.jsx)(r.h4,{id:"returns",children:"Returns"}),"\n",(0,c.jsx)(r.p,{children:(0,c.jsx)(r.code,{children:"void"})}),"\n",(0,c.jsx)(r.h4,{id:"inherited-from",children:"Inherited from"}),"\n",(0,c.jsxs)(r.p,{children:[(0,c.jsx)(r.a,{href:"/docs/typedoc/react-query/shared/interfaces/TRPCSubscriptionBaseResult",children:(0,c.jsx)(r.code,{children:"TRPCSubscriptionBaseResult"})}),".",(0,c.jsx)(r.a,{href:"/docs/typedoc/react-query/shared/interfaces/TRPCSubscriptionBaseResult#reset",children:(0,c.jsx)(r.code,{children:"reset"})})]}),"\n",(0,c.jsx)(r.hr,{}),"\n",(0,c.jsx)(r.h3,{id:"status",children:"status"}),"\n",(0,c.jsxs)(r.blockquote,{children:["\n",(0,c.jsxs)(r.p,{children:[(0,c.jsx)(r.strong,{children:"status"}),": ",(0,c.jsx)(r.code,{children:'"error"'})]}),"\n"]}),"\n",(0,c.jsxs)(r.p,{children:["Defined in: ",(0,c.jsx)(r.a,{href:"https://github.com/trpc/trpc/blob/f55eeb408e824a0443a78904644b7a5981644779/packages/react-query/src/shared/hooks/types.ts#L235",children:"packages/react-query/src/shared/hooks/types.ts:235"})]}),"\n",(0,c.jsx)(r.h4,{id:"overrides-2",children:"Overrides"}),"\n",(0,c.jsxs)(r.p,{children:[(0,c.jsx)(r.a,{href:"/docs/typedoc/react-query/shared/interfaces/TRPCSubscriptionBaseResult",children:(0,c.jsx)(r.code,{children:"TRPCSubscriptionBaseResult"})}),".",(0,c.jsx)(r.a,{href:"/docs/typedoc/react-query/shared/interfaces/TRPCSubscriptionBaseResult#status",children:(0,c.jsx)(r.code,{children:"status"})})]})]})}function h(e={}){let{wrapper:r}={...(0,n.R)(),...e.components};return r?(0,c.jsx)(r,{...e,children:(0,c.jsx)(l,{...e})}):l(e)}},77334(e,r,s){s.d(r,{R:()=>i,x:()=>d});var t=s(64700);let c={},n=t.createContext(c);function i(e){let r=t.useContext(n);return t.useMemo(function(){return"function"==typeof e?e(r):{...r,...e}},[r,e])}function d(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(c):e.components||c:i(e.components),t.createElement(n.Provider,{value:r},e.children)}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.