MCPcopy Create free account
hub / github.com/Snapchat/Valdi / sourceMapParseFailed

Function sourceMapParseFailed

valdi/vscode_debugger/src/dap/errors.ts:227–230  ·  view source on GitHub ↗
(compiledUrl: string, message: string)

Source from the content-addressed store, hash-verified

225// use the compiledUrl instead of the source map url here, since the source
226// map could be a very large data URI
227export const sourceMapParseFailed = (compiledUrl: string, message: string) =>
228 createUserError(
229 localize('sourcemapParseError', 'Could not read source map for {0}: {1}', compiledUrl, message),
230 );
231
232export class ProtocolError extends Error {
233 public readonly cause: Dap.Message;

Callers 2

_addSourceMethod · 0.90
guardSourceMapFnMethod · 0.90

Calls 1

createUserErrorFunction · 0.85

Tested by

no test coverage detected