MCPcopy Index your code
hub / github.com/mitmproxy/mitmproxy / assertNever

Function assertNever

web/src/js/utils.ts:228–230  ·  view source on GitHub ↗
(val: never)

Source from the content-addressed store, hash-verified

226
227/* istanbul ignore next @preserve */
228export function assertNever(val: never): never {
229 throw new Error(`Unreachable: ${JSON.stringify(val)}`);
230}

Callers 5

receiveMethod · 0.90
onMessageMethod · 0.90
receiveMethod · 0.90
flowsReducerFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…