MCPcopy Create free account
hub / github.com/fontsource/fontsource / notFound

Function notFound

api/worker/src/utils/errors.ts:10–11  ·  view source on GitHub ↗
(message: string)

Source from the content-addressed store, hash-verified

8 new HTTPException(400, { message });
9
10export const notFound = (message: string): HTTPException =>
11 new HTTPException(404, { message });
12
13export const badGateway = (message: string): HTTPException =>
14 new HTTPException(502, { message });

Callers 15

handleMethod · 0.90
resolveVersionTagFunction · 0.90
getRegistryViewFunction · 0.90
readRegistryViewFunction · 0.90
getRegistrySourceFunction · 0.90
getRegistrySourcePreviewFunction · 0.90
getCssAssetFunction · 0.90
resolveFontRequestFunction · 0.90
getDownloadAssetFunction · 0.90
getBinaryAssetFunction · 0.90
listAxisRegistryFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected