We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b669071 commit e0f2ee2Copy full SHA for e0f2ee2
src/common/utils/config.js
@@ -1,6 +1,7 @@
1
import { EnsPlugin, Network } from 'ethers';
2
import { address as voucherHubBellecourAddress } from '../generated/@iexec/voucher-contracts/deployments/bellecour/VoucherHubERC1967Proxy.js';
3
import { TEE_FRAMEWORKS } from './constant.js';
4
+import { ConfigurationError } from './errors.js';
5
6
export const CHAIN_SPECIFIC_FEATURES = {
7
ENS: 'ENS',
@@ -199,7 +200,7 @@ export const checkImplementedOnChain = (chainId, featureName) => {
199
200
networkConfig?.notImplemented &&
201
networkConfig.notImplemented.includes(featureName)
202
) {
- throw new Error(
203
+ throw new ConfigurationError(
204
`${featureName} is not available on network ${networkConfig.name}`,
205
);
206
}
0 commit comments