MCPcopy Create free account
hub / github.com/deepnote/vscode-deepnote / from

Method from

src/platform/errors/types.ts:38–44  ·  view source on GitHub ↗
(message: string, err: any)

Source from the content-addressed store, hash-verified

36
37 // eslint-disable-next-line @typescript-eslint/no-explicit-any
38 public static from(message: string, err: any) {
39 if (err instanceof BaseError) {
40 return err;
41 } else {
42 return new WrappedError(message, err);
43 }
44 }
45
46 // eslint-disable-next-line @typescript-eslint/no-explicit-any
47 public static unwrap(err: any) {

Callers 15

disposeMethod · 0.45
getAllMethod · 0.45
clearMethod · 0.45
updateIndexMethod · 0.45
listPackagesMethod · 0.45
getPackageInformationMethod · 0.45
isReservedMethod · 0.45
addToIgnoreListMethod · 0.45
getInstanceMethod · 0.45
getErrorTagsFunction · 0.45
triggerPendingEventsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected