isProviderExistsRevert
isProviderExistsRevert(
error):boolean
Defined in: packages/synapse-core/src/utils/contract-errors.ts:68
Check whether the given error is a revert emitted by the
ServiceProviderRegistry.providerExists modifier (i.e. the provider ID is
out of range or maps to an unoccupied storage slot).
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
error | unknown |
Returns
Section titled “Returns”boolean