InlineQueryError
InlineQueryError(
props):ReactNode
Defined in: packages/react/src/ui/InlineQueryError.tsx:38
Small, generic “Couldn’t load X” + Retry block (polish fixes, Decision 1/2) — the
collection/global/media edit views’ own inline error state for a failed primary-document
fetch (permission denial, network failure — useVexDocQuery’s own error field; plain
useQuery never throws during render, so no error boundary is needed for this case, just
a conditional render), and the shared-view tab slot’s “Couldn’t load shared views” state
(rendered from a QueryErrorBoundary fallback instead, since useSuspenseQuery DOES
throw there).
Deliberately simpler than ListViewQueryError (collections/listView/ListViewQueryError.tsx): no
UNINDEXED_SORT-specific copy or collection-plural wording, no h-full centered frame
(the caller decides its own wrapping/sizing) — reused wherever a query failure needs a
small, consistent “couldn’t load, try again” block rather than the list table’s own
larger, sort-aware one.
Parameters
Section titled “Parameters”Returns
Section titled “Returns”ReactNode
An alert-role error block with a Retry button and a details disclosure.