Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/sindresorhus/ky
/ http-error.ts
File
http-error.ts
test/http-error.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
test from
'ava'
;
2
import
{expectTypeOf} from
'expect-type'
;
3
import
ky, {HTTPError, isHTTPError} from
'../source/index.js'
;
4
import
{
type
Mutable} from
'../source/utils/types.js'
;
Callers
nothing calls this directly
Calls
5
test
Function · 0.85
createFakeResponse
Function · 0.85
createHttpTestServer
Function · 0.85
ky
Function · 0.85
isHTTPError
Function · 0.85
Tested by
no test coverage detected