MCPcopy Create free account
hub / github.com/2234839/TsFullStack / msg

Method msg

apps/backend/src/util/error.ts:49–51  ·  view source on GitHub ↗
(message: string)

Source from the content-addressed store, hash-verified

47 static op_msgError = 'op_msgError' as const;
48
49 static msg(message: string) {
50 return new MsgError(MsgError.op_msgError, message);
51 }
52 static isMsgError(err: unknown): err is MsgError {
53 return err instanceof MsgError;
54 }

Callers 15

generateUserFilePathMethod · 0.80
validateFileAccessMethod · 0.80
sanitizeFilenameMethod · 0.80
AIProxyServiceUtilsClass · 0.80
validateFileAccessMethod · 0.80
TokenService.tsFile · 0.80
callImageProviderFunction · 0.80
mbd.adapter.tsFile · 0.80
callOllamaAPIFunction · 0.80
subscribePackageFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected