MCPcopy Create free account
hub / github.com/deepnote/deepnote / assertNever

Function assertNever

packages/mcp/src/prompts.ts:86–88  ·  view source on GitHub ↗
(value: never)

Source from the content-addressed store, hash-verified

84}
85
86function assertNever(value: never): never {
87 throw new Error(`Unknown prompt: ${String(value)}`)
88}
89
90export function getPrompt(name: PromptName, args: Record<string, string> | undefined): GetPromptResult {
91 switch (name) {

Callers 1

getPromptFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected