Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/npmx-dev/npmx.dev
/ error-handler.spec.ts
File
error-handler.spec.ts
test/unit/server/utils/error-handler.spec.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ describe, expect, it } from
'vitest'
2
import
{ createError } from
'h3'
3
import
{ FetchError } from
'ofetch'
4
import
* as v from
'valibot'
Callers
nothing calls this directly
Calls
1
handleApiError
Function · 0.90
Tested by
no test coverage detected