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

Function createAmbiguousQueryClientError

packages/lit-query/src/context.ts:90–92  ·  view source on GitHub ↗

* Creates the error thrown when multiple `QueryClient`s are mounted and the default one would be * ambiguous. * @returns A new `Error` explaining that the default `QueryClient` is ambiguous.

()

Source from the content-addressed store, hash-verified

88 * @returns A new `Error` explaining that the default `QueryClient` is ambiguous.
89 */
90function createAmbiguousQueryClientError(): Error {
91 return new Error(ambiguousQueryClientMessage)
92}
93
94/**
95 * Resolves the current default `QueryClient` registered by a connected

Callers 1

useQueryClientFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected