Implement proper script runtime exception rendering with tests

#KT-42335 fixed
This commit is contained in:
Ilya Chernikov
2020-10-01 13:15:05 +02:00
parent d5ad424e8f
commit db23460fd5
7 changed files with 165 additions and 20 deletions
@@ -0,0 +1,9 @@
try {
try {
throw Exception("Error!")
} catch (e: Exception) {
throw Exception("Oh no", e)
}
} catch (e: Exception) {
throw Exception("Top", e)
}