Transform Throwable members to properties
This commit is contained in:
committed by
Mikhail Glukhikh
parent
9088bf67c7
commit
17c906658d
Vendored
+1
-1
@@ -13,7 +13,7 @@ fun box(): String =
|
||||
"e2"
|
||||
}
|
||||
catch (e3: Exception3) {
|
||||
e3.getMessage()
|
||||
e3.message
|
||||
}
|
||||
catch (e: Exception) {
|
||||
"e"
|
||||
|
||||
Reference in New Issue
Block a user