rsocket-kotlin
rsocket-kotlin copied to clipboard
Provide custom exceptions about reason of closing connections instead of transport agnostic
ClosedReceiveChannelException is produced by transport specifics - both in TCP and WS implementations.
Looks like it will be better to provide some custom exception for case of failed connection.
Originally posted by @whyoleg in https://github.com/rsocket/rsocket-kotlin/issues/145#issuecomment-816762386