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
@@ -15,7 +15,7 @@ package kotlin
* - the detailed description of each throwable in the [Throwable.cause] chain.
*/
@SinceKotlin("1.4")
public actual fun Throwable.toStringWithTrace(): String = ExceptionTraceBuilder().buildFor(this)
public actual fun Throwable.stackTraceToString(): String = ExceptionTraceBuilder().buildFor(this)
/**
* Adds the specified exception to the list of exceptions that were