MCPcopy
hub / github.com/prisma/prisma / assertNever

Function assertNever

packages/internals/src/utils/assertNever.ts:27–29  ·  packages/internals/src/utils/assertNever.ts::assertNever
(arg: never, errorMessage: string)

Source from the content-addressed store, hash-verified

25 * unless compile-time check is skipped
26 */
27export function assertNever(arg: never, errorMessage: string): never {
28 throw new Error(errorMessage)
29}

Callers 15

getTransactionOptionsFunction · 0.90
deepCloneValueFunction · 0.90
shouldApplyGlobalOmitMethod · 0.90
transactionMethod · 0.90
getDbUrlFunction · 0.90
$allOperationsFunction · 0.90
tests.tsFile · 0.90
handleGetDmmfResultFunction · 0.90
stringifyFunction · 0.90
getModelArgNameFunction · 0.90
getModelArgNameFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected