orleans
orleans copied to clipboard
Suggestion: Improved exception message for StreamPubSubType.ImplicitOnly
When setting up the SiloHostBuilder and configuring the SimpleMessageStream provider PubSubType option to:
options.PubSubType = StreamPubSubType.ImplicitOnly
you receive the following exception when trying to add explicit subscriptions:
Only implicit subscriptions are supported.
I feel like error messages like this could be more descriptive (maybe mention to check how the silo host is configured). It happened to me twice now, that I did not know this option was set and was then wondering what is causing this error, debugging for ages before figuring it out.