Rename extension toStringWithTrace to stackTraceToString

#KT-37603
This commit is contained in:
Ilya Gorbunov
2020-04-04 02:04:30 +03:00
parent 4cc9909a70
commit 408b441a71
6 changed files with 12 additions and 11 deletions
@@ -128,7 +128,8 @@ internal class KotlinNothingValueException : RuntimeException {
* - the detailed description of each throwable in the [Throwable.cause] chain.
*/
@SinceKotlin("1.4")
public expect fun Throwable.toStringWithTrace(): String
public expect fun Throwable.stackTraceToString(): String
/**
* When supported by the platform, adds the specified exception to the list of exceptions that were
* suppressed in order to deliver this exception.