MCPcopy Create free account
hub / github.com/AlexErrant/Pentive / throwExp

Function throwExp

lrpc/src/core.ts:26–28  ·  view source on GitHub ↗
(errorMessage: string)

Source from the content-addressed store, hash-verified

24
25// https://stackoverflow.com/a/65666402
26export function throwExp(errorMessage: string): never {
27 throw new Error(errorMessage)
28}
29
30export function optionMap<T, R>(
31 t: T | null | undefined,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected