more tools to deal with Lyng exeption in Kotlin

This commit is contained in:
sergeych committed 2026-01-08 12:42:29 +01:00
1 parent c12804a806
commit 2acb60697d
6 files changed
+53 -5

No files matched your search

+3
View File
@@ -183,3 +183,6 @@ lyng fmt --check MyFile.lyng # Check if file needs formatting
Experimental lightweight autocompletion is now available in the IntelliJ plugin. It features type-aware member suggestions and inheritance-aware completion.
You can enable it in **Settings | Lyng Formatter | Enable Lyng autocompletion**.
### Kotlin API: Exception Handling
The `Obj.getLyngExceptionMessageWithStackTrace()` extension method has been added to simplify retrieving detailed error information from Lyng exception objects in Kotlin. Additionally, `getLyngExceptionMessage()` and `raiseAsExecutionError()` now accept an optional `Scope`, making it easier to use them when a scope is not immediately available.