Skip to content

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).

ParameterType
errorunknown

boolean