MCPcopy Create free account
hub / github.com/arktypeio/arktype / throwBuildError

Function throwBuildError

ark/aot/host.ts:575–576  ·  view source on GitHub ↗
(message: string)

Source from the content-addressed store, hash-verified

573}
574
575export const throwBuildError = (message: string): never =>
576 rethrowAsBuildError(new Error(message))
577
578export const packageNameOf = (specifier: string): string =>
579 specifier.split("/", specifier.startsWith("@") ? 2 : 1).join("/")

Callers 15

turbopack.tsFile · 0.90
runtimeShimOfFunction · 0.90
answerFromProgramFunction · 0.90
checkImportsFunction · 0.90
checkNextExternalsFunction · 0.90
checkAliasesFunction · 0.90
requestResolvingFunction · 0.90
startBuildFunction · 0.90
checkExternalFunction · 0.90
checkBundledExternalsFunction · 0.90
loadModuleFunction · 0.90
refuseFunction · 0.90

Calls 1

rethrowAsBuildErrorFunction · 0.85

Tested by

no test coverage detected