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

Function throwInternalError

ark/util/errors.ts:7–8  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5export class InternalArktypeError extends Error {}
6
7export const throwInternalError: (message: string) => never = message =>
8 throwError(message, InternalArktypeError)
9
10export const throwError: (
11 message: string,

Callers 15

getSourceFileOrThrowMethod · 0.90
getAbsolutePositionFunction · 0.90
displayBenchResultFunction · 0.90
getSnapCallArgsFunction · 0.90
versionableAssertionFunction · 0.90
assertions.tsFile · 0.90
getSnapCallArgsFunction · 0.90

Calls 1

throwErrorFunction · 0.70

Tested by

no test coverage detected