MCPcopy
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

1import test from 'ava';
2import {expectTypeOf} from 'expect-type';
3import ky, {HTTPError, isHTTPError} from '../source/index.js';
4import {type Mutable} from '../source/utils/types.js';

Callers

nothing calls this directly

Calls 5

testFunction · 0.85
createFakeResponseFunction · 0.85
createHttpTestServerFunction · 0.85
kyFunction · 0.85
isHTTPErrorFunction · 0.85

Tested by

no test coverage detected