Matt
08/20/2018, 3:07 PMError
includes more than just fatal JVM throwables (e.g. AssertionError
), which is why Scala has NonFatal
Shawn
08/20/2018, 3:09 PMError
? I feel like that’s fine to consider non-catchable since it really only ought to be seen when a test failsMatt
08/20/2018, 3:11 PMkarelpeeters
08/20/2018, 3:36 PMMatt
08/20/2018, 3:56 PMkarelpeeters
08/20/2018, 4:06 PMMatt
08/20/2018, 4:33 PMkarelpeeters
08/20/2018, 9:41 PMMatt
08/21/2018, 6:49 AMControlException
to implement certain language features, and that should not be caught by user code, in addition to the standard library fatal throwables. Kotlin may or may not have a similar exception, but I simply don't know.