# isProviderExistsRevert

> **isProviderExistsRevert**(`error`): `boolean`

Defined in: [packages/synapse-core/src/utils/contract-errors.ts:68](https://github.com/FilOzone/synapse-sdk/blob/8736322ef69c7a6b0f16402937c72a79b17d03e8/packages/synapse-core/src/utils/contract-errors.ts#L68)

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

| Parameter | Type |
| ------ | ------ |
| `error` | `unknown` |

## Returns

`boolean`