MCPcopy Create free account
hub / github.com/subquery/subql / handleError

Method handleError

packages/node-core/src/api.service.ts:26–26  ·  view source on GitHub ↗
(error: Error)

Source from the content-addressed store, hash-verified

24
25export interface IApiConnectionSpecific<A = any, SA = any, B extends Array<any> = any[]> extends IApi<A, SA, B> {
26 handleError(error: Error): ApiConnectionError;
27 apiConnect(): Promise<void>;
28 apiDisconnect(): Promise<void>;
29 updateChainTypes?(chainTypes: unknown): Promise<void>;

Callers 7

apiMethod · 0.65
getHeaderForHashFunction · 0.65
getBlockByHeightFunction · 0.65
getHeaderByHeightFunction · 0.65
fetchEventsRangeFunction · 0.65
fetchRuntimeVersionRangeFunction · 0.65
fetchLightBlockFunction · 0.65

Implementers 1

ApiPromiseConnectionpackages/node/src/indexer/apiPromise.c

Calls

no outgoing calls

Tested by

no test coverage detected