Hi 👋
I have a question regarding rich errors that are expected to be introduced in Kotlin 2.4.
Many libraries we use—whether Java-based or Kotlin libraries that don't adopt this feature—still throw exceptions. In those cases, we either need to use runCachingAsError to convert them into a general error class, or manually wrap each exception from those libraries ourselves.
Is there any plugin currently in development that can automatically generate Error classes, Error objects, or even type aliases from existing exceptions?
Since Java relies on exception inheritance, it would be great to have a way to map that structure to Kotlin's error model.