Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 | 11x 11x 1x 1x | import { ProviderError, ProviderFailure } from '@cardano-sdk/core';
// eslint-disable-next-line @typescript-eslint/no-explicit-any
export const mapHealthCheckError = (error: any) => {
if (!error) {
return { ok: false };
}
throw new ProviderError(ProviderFailure.Unknown, error);
};
|