Rich errors in Kotlin 2.4: say goodbye to boring try/catch or not quite yet? | by Dmitry Glazunov | Jun, 2025

a year ago by cm0002 to c/kotlin

DmMacniel 2 points a year ago

Uh okay? Is there an actual source by jetbrains, or are medium articles the only source for rich errors which just seems to be union types?

Also I don't see the benefit from mixing success paths with error paths.

path: 0 17883573, hotness: undefined, score: 2, children: 1
the_beber 2 points a year ago

I can only find unofficial β€žsourcesβ€œ as well.

path: 0 17883573 17887305, hotness: undefined, score: 2, children: 0
kotlin
kotlin

@programming.dev

login for more options
808
109
11

Kotlin is a statically typed programming language for the JVM, Android, JavaScript, and native.

Subreddit rules:

  • Be civil
  • No spam
  • Stay on-topic
  • No fluff

Resources:

go to feed...