Should the `kotlinx.coroutines.experimental.Timeou...
# coroutines
r
Should the
kotlinx.coroutines.experimental.TimeoutException
really be private? I can catch CancellationException which is the base, but still?
e
@rogeralsing What is your use-case to catch it?
r
request / response communication with actors
CancellationException works, so its not a real issue
I was mostly surprised that I could not write tests that expected the actually thrown type
e
That is a valid use-case, though. A reason to think about making it public. Recorded this idea: https://github.com/Kotlin/kotlinx.coroutines/issues/89