MCPcopy Create free account
hub / github.com/DeepNotesApp/DeepNotes / catch

Method catch

packages/@stdlib/misc/src/resolvable.ts:53–57  ·  view source on GitHub ↗
(
    onrejected?: ((reason?: any) => TResult | PromiseLike<TResult>) | null,
  )

Source from the content-addressed store, hash-verified

51 return this._promise.then(onfulfilled, onrejected);
52 }
53 catch<TResult = never>(
54 onrejected?: ((reason?: any) => TResult | PromiseLike<TResult>) | null,
55 ): Promise<T | TResult> {
56 return this._promise.catch(onrejected);
57 }
58 finally(onfinally?: (() => void) | null): Promise<T> {
59 return this._promise.finally(onfinally);
60 }

Callers 6

createWebsocketEndpointFunction · 0.80
BFunction · 0.80
createWindowFunction · 0.80
electron-main.tsFile · 0.80
render.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected