UnsupportedSubscriptionException
scalus.cardano.infra.UnsupportedSubscriptionException
class UnsupportedSubscriptionException(val reason: String) extends RuntimeException
Exceptions raised by streaming subscriptions.
Two channels, deliberately distinct:
- UnsupportedSubscriptionException is an argument error. It is thrown synchronously from
subscribeXxx, at the call site that caused it, before any registration happens. - The others are runtime failures. They surface through the stream's failure channel — a failed
FuturefromScalusAsyncSource.pull()— because by then the subscription exists and the caller is consuming it.
Attributes
- Graph
-
- Supertypes
-
class RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass Any
Members list
In this article