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

Function createSilentError

valdi/vscode_debugger/src/dap/errors.ts:41–50  ·  view source on GitHub ↗
(text: string, code = ErrorCodes.SilentError)

Source from the content-addressed store, hash-verified

39}
40
41export function createSilentError(text: string, code = ErrorCodes.SilentError): Dap.Error {
42 return {
43 __errorMarker: true,
44 error: {
45 id: code,
46 format: text,
47 showUser: false,
48 },
49 };
50}
51
52export function createUserError(text: string, code = ErrorCodes.UserError): Dap.Error {
53 return {

Callers 2

replErrorFunction · 0.85
asyncScopesNotAvailableFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected