MCPcopy Create free account
hub / github.com/chhoumann/quickadd / formatSecretError

Function formatSecretError

src/utils/userScriptSecrets.ts:128–130  ·  view source on GitHub ↗
(error: unknown)

Source from the content-addressed store, hash-verified

126}
127
128function formatSecretError(error: unknown): string {
129 return (error as Error)?.message ?? String(error);
130}
131
132function skipWhitespaceAndComments(source: string, index: number): number {
133 let current = index;

Callers 3

readSecretStorageEntryFunction · 0.85
writeSecretStorageEntryFunction · 0.85
clearUserScriptSecretFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected