https://kotlinlang.org logo
Title
s

saket

03/29/2023, 7:24 PM
isn't
TurbineTimeoutCancellationException
already our custom timeout exception?
j

jw

03/29/2023, 7:25 PM
It's a subclass though, right?
And that's what we throw outward. We basically need to divorce the hierarchies so we don't clobber user types
s

saket

03/29/2023, 7:25 PM
internal class TurbineTimeoutCancellationException internal constructor(
  message: String,
) : CancellationException(message)
it's not a subclass of timeout exception, if that's what you meant?
j

jw

03/29/2023, 7:26 PM
I'll have to look on a computer. The bottom line is we need to differentiate between our timeout and a user exception that happens to be a timeout