Cleanup: Create custom method unsupported errors
Open
enhancement
good first issue
- Dominant language
- JavaScript
- Stars
- 217
- Forks
- 104
- PR merge metrics
- No merged PRs in 30d
Description
## Describe the proposal
Today we find multiple instances of these in our codebase:
```ts
async subscribe(_storeName: string, _cb: SubscribeConfigurationCallback): Promise {
throw new Error('HTTP is currently not supported.');
}
getRegisteredActors(): Promise {
throw new Error('GRPC is currently not supported.');
}
```
This proposal is to create two custom Errors: `HttpNotSupportedError` and `GrpcNotSupportedError` which can be reused in our code.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.