Transform Throwable members to properties
This commit is contained in:
committed by
Mikhail Glukhikh
parent
9088bf67c7
commit
17c906658d
+1
-1
@@ -60,6 +60,6 @@ fun main(args: Array<String>) {
|
||||
System.out.println("You won!");
|
||||
}
|
||||
catch(e: Throwable) {
|
||||
System.out.println(e.getMessage())
|
||||
System.out.println(e.message)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user