- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for firstLocationAwareCauseOrNull (0.33 sec)
-
platforms/core-configuration/kotlin-dsl-tooling-builders/src/main/kotlin/org/gradle/kotlin/dsl/tooling/builders/EditorReportsBuilder.kt
fun Sequence<Exception>.findLocationAwareExceptions(): Sequence<LocationAwareException> = mapNotNull(::firstLocationAwareCauseOrNull) private tailrec fun firstLocationAwareCauseOrNull(ex: Throwable): LocationAwareException? { if (ex is LocationAwareException) return ex val cause = ex.cause ?: return null return firstLocationAwareCauseOrNull(cause) } private
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 12 19:30:55 UTC 2024 - 6.2K bytes - Viewed (0)