MCPcopy Create free account
hub / github.com/TanStack/query / createMissingQueryClientError

Function createMissingQueryClientError

packages/lit-query/src/context.ts:81–83  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

79 * @returns A new `Error` explaining that no `QueryClient` is available.
80 */
81export function createMissingQueryClientError(): Error {
82 return new Error(missingQueryClientMessage)
83}
84
85/**
86 * Creates the error thrown when multiple `QueryClient`s are mounted and the default one would be

Callers 15

createPendingQueryResultFunction · 0.85
QueryControllerClass · 0.85
defaultOptionsMethod · 0.85
willUpdateMethod · 0.85
requireClientMethod · 0.85
useQueryClientFunction · 0.85
readResolvedOptionsMethod · 0.85
defaultOptionsMethod · 0.85
createIdleMutationResultFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected